[cfe-commits] r109958 - /cfe/trunk/tools/libclang/Makefile

Daniel Dunbar daniel at zuster.org
Sat Jul 31 14:33:01 PDT 2010


Author: ddunbar
Date: Sat Jul 31 16:33:01 2010
New Revision: 109958

URL: http://llvm.org/viewvc/llvm-project?rev=109958&view=rev
Log:
build: Don't pass -avoid-version or -no-undefined on Darwin, they don't do
anything.

Modified:
    cfe/trunk/tools/libclang/Makefile

Modified: cfe/trunk/tools/libclang/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/Makefile?rev=109958&r1=109957&r2=109958&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/Makefile (original)
+++ cfe/trunk/tools/libclang/Makefile Sat Jul 31 16:33:01 2010
@@ -34,7 +34,6 @@
     endif
     # extra options to override libtool defaults 
     LLVMLibsOptions    := $(LLVMLibsOptions)  \
-                         -avoid-version \
                          -Wl,-dead_strip \
                          -Wl,-seg1addr -Wl,0xE0000000 
 
@@ -42,7 +41,7 @@
     DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/')
     ifneq ($(DARWIN_VERS),8)
        LLVMLibsOptions    := $(LLVMLibsOptions)  \
-                            -no-undefined -Wl,-install_name \
+                            -Wl,-install_name \
                             -Wl,"@rpath/lib$(LIBRARYNAME)$(SHLIBEXT)"
     endif
 endif





More information about the cfe-commits mailing list