]> granicus.if.org Git - clang/commitdiff
build: Don't pass -avoid-version or -no-undefined on Darwin, they don't do
authorDaniel Dunbar <daniel@zuster.org>
Sat, 31 Jul 2010 21:33:01 +0000 (21:33 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 31 Jul 2010 21:33:01 +0000 (21:33 +0000)
anything.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109958 91177308-0d34-0410-b5e6-96231b3b80d8

tools/libclang/Makefile

index 253ea38c7b94d8b935c47ead8bfb9d0242af71d5..7a620c15a937470d135a10d30c9223683d221b00 100644 (file)
@@ -34,7 +34,6 @@ ifeq ($(HOST_OS),Darwin)
     endif
     # extra options to override libtool defaults 
     LLVMLibsOptions    := $(LLVMLibsOptions)  \
-                         -avoid-version \
                          -Wl,-dead_strip \
                          -Wl,-seg1addr -Wl,0xE0000000 
 
@@ -42,7 +41,7 @@ ifeq ($(HOST_OS),Darwin)
     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