From 0977daa3b4556749819d30ddcf9fa53e5b74e5f1 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sat, 18 Jan 2014 12:44:17 +0100 Subject: [PATCH] Fixes #519 #861 #940 #505 #590 #761 #129 compilation on 64-bit systems --- src/build/compile.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/build/compile.sh b/src/build/compile.sh index 7a9520f56..3ec22f828 100755 --- a/src/build/compile.sh +++ b/src/build/compile.sh @@ -20,6 +20,7 @@ type automake >> "$DIR/install.log" 2>&1 || { echo >&2 "[ERROR] Please install \ type libtool >> "$DIR/install.log" 2>&1 || { echo >&2 "[ERROR] Please install \"libtool\""; read -p "Press [Enter] to continue..."; exit 1; } type m4 >> "$DIR/install.log" 2>&1 || { echo >&2 "[ERROR] Please install \"m4\""; read -p "Press [Enter] to continue..."; exit 1; } type wget >> "$DIR/install.log" 2>&1 || { echo >&2 "[ERROR] Please install \"wget\""; read -p "Press [Enter] to continue..."; exit 1; } +type getconf >> "$DIR/install.log" 2>&1 || { echo >&2 "[ERROR] Please install \"getconf\""; read -p "Press [Enter] to continue..."; exit 1; } export CC="gcc" COMPILE_FOR_ANDROID=no @@ -84,10 +85,6 @@ else echo "[INFO] Compiling for current machine using 32-bit" CFLAGS="-m32 $CFLAGS" fi - #echo "[INFO] Compiling for current machine" - #if [ $(uname -m) == "x86_64" ]; then - # CFLAGS="-mx32 $CFLAGS" - #fi fi type $CC >> "$DIR/install.log" 2>&1 || { echo >&2 "[ERROR] Please install \"$CC\""; read -p "Press [Enter] to continue..."; exit 1; }