Merge pull request #1858 from openscad/libgmp-build-fix
Build libgmp against the core2 CPU profile to support older CPUs. Fixes #1829
This commit is contained in:
commit
e8ebf1cf35
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue