diff --git a/Makefile b/Makefile index 03ba7b99..192d987e 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 1e64f13e..399afaee 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"