# HG changeset patch # User nenolod # Date 1157573077 25200 # Node ID d863bca9b6d759f07a4628fd8f1f756c79b61a01 # Parent e2eb234cb9993f4ae008e4eb6f541c723ef66792 [svn] - PICFLAGS should not call -shared/-bundle as some versions of GCC will misinterpret that. Only PICLDFLAGS should. diff -r e2eb234cb999 -r d863bca9b6d7 ChangeLog --- a/ChangeLog Wed Sep 06 13:01:04 2006 -0700 +++ b/ChangeLog Wed Sep 06 13:04:37 2006 -0700 @@ -1,3 +1,12 @@ +2006-09-06 20:01:04 +0000 William Pitcock + revision [2177] + - add PICLDFLAGS, PICFLAGS, SHARED_SUFFIX identifiers + + + Changes: Modified: + +3 -0 trunk/mk/rules.mk.in + + 2006-09-06 19:57:50 +0000 William Pitcock revision [2175] - detect what $(SHARED_SUFFIX) should be. diff -r e2eb234cb999 -r d863bca9b6d7 configure.ac --- a/configure.ac Wed Sep 06 13:01:04 2006 -0700 +++ b/configure.ac Wed Sep 06 13:04:37 2006 -0700 @@ -195,13 +195,13 @@ case "$target" in *-apple-*) AC_MSG_RESULT([Mac OS X: -fPIC -bundle, .dylib]) - PICFLAGS="-fPIC -bundle" - PICLDFLAGS="-fPIC -bundle" + PICFLAGS="-fPIC -DPIC" + PICLDFLAGS="-fPIC -DPIC -bundle" SHARED_SUFFIX=".dylib" ;; *) AC_MSG_RESULT([libdl-compatible: -fPIC -DPIC -shared, .so]) - PICFLAGS="-fPIC -DPIC -shared" + PICFLAGS="-fPIC -DPIC" PICLDFLAGS="-fPIC -DPIC -shared" SHARED_SUFFIX=".so" ;;