multicore-darwin-x86: specify 32-bit compilation
authorPhil Miller <mille121@illinois.edu>
Thu, 24 Oct 2013 20:42:32 +0000 (13:42 -0700)
committerPhil Miller <mille121@illinois.edu>
Thu, 24 Oct 2013 20:42:45 +0000 (13:42 -0700)
src/arch/multicore-darwin-x86/conv-mach.sh

index dbeff3ce8eb3a4fdee29b3a8a019459718eec398..79d9193b92541c1342798fa1e6155028991e7275 100644 (file)
@@ -1,10 +1,12 @@
 CMK_MACOSX=1
 CMK_DEFS=' -D_REENTRANT '
 
+CMK_MAC_ARGS="-fPIC -dynamic -fno-common -mmacosx-version-min=10.6 -m32 $CMK_DEFS"
+
 CMK_CPP_CHARM="/usr/bin/cpp -P"
 CMK_CPP_C="gcc -E -mmacosx-version-min=10.6"
-CMK_CC="gcc -fPIC -dynamic -fno-common -mmacosx-version-min=10.6 $CMK_DEFS "
-CMK_CXX="g++ -fPIC -dynamic -fno-common -mmacosx-version-min=10.6 $CMK_DEFS "
+CMK_CC="gcc $CMK_MAC_ARGS "
+CMK_CXX="g++ $CMK_MAC_ARGS "
 CMK_CXXPP="g++ -x g++ -E -mmacosx-version-min=10.6 "
 CMK_LDXX="$CMK_CXX -multiply_defined suppress -mmacosx-version-min=10.6 $CMK_DEFS "
 CMK_XIOPTS=""