diff --git a/build-mg.sh b/build-mg.sh
index 96cd3ae60..ba83c5c53 100755
--- a/build-mg.sh
+++ b/build-mg.sh
@@ -19,8 +19,9 @@ MAKE_ONLY=0
CLANG_FORCED=0
WANT_STATIC_LIBS="-DWANT_STATIC_LIBS=ON"
LUA_FORCED_VERSION=0
+FORCE_32BIT_CROSS_COMPILE=0
-while getopts "c:dfhl:mn" option; do
+while getopts "c:dfhl:mnx" option; do
case "${option}" in
c)
CPU_COUNT=${OPTARG}
@@ -36,7 +37,7 @@ while getopts "c:dfhl:mn" option; do
;;
h)
echo "Usage: $0