aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rwxr-xr-xmake-macosx-ub.sh2
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 03ba7b9..192d987 100644
--- a/Makefile
+++ b/Makefile
@@ -854,6 +854,12 @@ targets: makedirs
echo " $$i"; \
done
@echo ""
+ @echo " LDFLAGS:"
+ @for i in $(LDFLAGS); \
+ do \
+ echo " $$i"; \
+ done
+ @echo ""
@echo " Output:"
@for i in $(TARGETS); \
do \
diff --git a/make-macosx-ub.sh b/make-macosx-ub.sh
index 1e64f13..399afae 100755
--- a/make-macosx-ub.sh
+++ b/make-macosx-ub.sh
@@ -90,7 +90,7 @@ if [ -d /Developer/SDKs/MacOSX10.4u.sdk ]; then
X86_SDK=/Developer/SDKs/MacOSX10.4u.sdk
X86_CFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk \
-DMAC_OS_X_VERSION_MIN_REQUIRED=1040"
- LDFLAGS="-arch i386 \
+ X86_LDFLAGS="-arch i386 \
-isysroot /Developer/SDKs/MacOSX10.4u.sdk \
-mmacosx-version-min=10.4"
X86_ENV="CFLAGS=$CFLAGS LDFLAGS=$LDFLAGS"