build: x86_64 bootstrap build fixes and workaround.
[mes.git] / build-aux / build-mes.sh
index 2b46c85efeb08d49c478828e6cc15fd0ec4c5f9f..8c301fab432a9b02fc337152ece0bc29c2953996 100755 (executable)
@@ -107,9 +107,9 @@ fi
 
 PREPROCESS=1
 if [ ! -d "$MES_SEED" ] \
-       && [ "$ARCH" = "i386" \
-            -o "$ARCH" = "i586" \
-            -o "$ARCH" = "i686" ]; then
+       && [ "$arch" = "i386" \
+            -o "$arch" = "i586" \
+            -o "$arch" = "i686" ]; then
     MES_ARENA=100000000
 fi