diff options
author | Anders F Bjorklund <afb@users.sourceforge.net> | 2013-08-02 15:58:44 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2013-08-03 13:24:47 +0300 |
commit | 1415f1d94644f28e07d544bc1e06b0636081abee (patch) | |
tree | 0b7665aafc3791ecc9aec0dddc55b4ba68048644 | |
parent | move configurables into variables (diff) | |
download | xz-1415f1d94644f28e07d544bc1e06b0636081abee.tar.xz |
macosx: set minimum to leopard
-rwxr-xr-x | macosx/build.sh | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/macosx/build.sh b/macosx/build.sh index 203874e4..3417bfb0 100755 --- a/macosx/build.sh +++ b/macosx/build.sh @@ -13,14 +13,17 @@ mkdir -p Resources # Abort immediately if something goes wrong. set -e -GCC="gcc-4.0" -SDK="/Developer/SDKs/MacOSX10.4u.sdk" -MDT="10.4" -GTT=i686-apple-darwin8 +GCC="gcc-4.2" +SDK="/Developer/SDKs/MacOSX10.5.sdk" +MDT="10.5" +GTT=i686-apple-darwin9 ARCHES1="-arch ppc -arch ppc64 -arch i386 -arch x86_64" ARCHES2="-arch ppc -arch i386" -PKGFORMAT="10.4" # dir +PKGFORMAT="10.5" # xar + +# avoid "unknown required load command: 0x80000022" from linking on Snow Leopard +uname -r | grep ^1 >/dev/null && LDFLAGS="$LDFLAGS -Wl,-no_compact_linkedit" # Clean up if it was already configured. [ -f Makefile ] && make distclean |