diff --git a/scripts/macosx-build-dependencies.sh b/scripts/macosx-build-dependencies.sh index f4c736c8..e8214d38 100755 --- a/scripts/macosx-build-dependencies.sh +++ b/scripts/macosx-build-dependencies.sh @@ -276,7 +276,8 @@ build_gmp() fi tar xjf gmp-$version.tar.bz2 cd gmp-$version - ./configure --prefix=$DEPLOYDIR CXXFLAGS="$CXXSTDFLAGS" CFLAGS="-mmacosx-version-min=$MAC_OSX_VERSION_MIN" LDFLAGS="$LDSTDFLAGS -mmacosx-version-min=$MAC_OSX_VERSION_MIN" --enable-cxx + # Note: We're building against the core2 CPU profile as that's the minimum required hardware for running OS X 10.8 + ./configure --prefix=$DEPLOYDIR CXXFLAGS="$CXXSTDFLAGS" CFLAGS="-mmacosx-version-min=$MAC_OSX_VERSION_MIN" LDFLAGS="$LDSTDFLAGS -mmacosx-version-min=$MAC_OSX_VERSION_MIN" --enable-cxx --host=core2-apple-darwin12.0.0 make -j"$NUMCPU" install install_name_tool -id @rpath/libgmp.dylib $DEPLOYDIR/lib/libgmp.dylib