From f72b7046e5a7b2d0aa67bebd49b3f4d994c7e694 Mon Sep 17 00:00:00 2001 From: SoftCoder Date: Wed, 8 Jan 2014 21:19:14 -0800 Subject: [PATCH] - added experimental lunix32 cross compile support --- build-mg.sh | 20 ++++++++++++++++++-- mk/cmake/Modules/Toolchain-linux32.cmake | 23 +++++++++++++++++++++++ 2 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 mk/cmake/Modules/Toolchain-linux32.cmake 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