[Lldb-commits] [lldb] r143377 - /lldb/trunk/lib/Makefile

Daniel Dunbar daniel at zuster.org
Mon Oct 31 15:50:30 PDT 2011


Author: ddunbar
Date: Mon Oct 31 17:50:30 2011
New Revision: 143377

URL: http://llvm.org/viewvc/llvm-project?rev=143377&view=rev
Log:
build: Fix Darwin linker flags which weren't properly passed (and aren't valid).

Modified:
    lldb/trunk/lib/Makefile

Modified: lldb/trunk/lib/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lib/Makefile?rev=143377&r1=143376&r2=143377&view=diff
==============================================================================
--- lldb/trunk/lib/Makefile (original)
+++ lldb/trunk/lib/Makefile Mon Oct 31 17:50:30 2011
@@ -102,7 +102,6 @@
                            -Wl,-compatibility_version -Wl,1
     endif
     # extra options to override libtool defaults 
-    LLVMLibsOptions += -avoid-version
 	LLVMLibsOptions += -F/System/Library/Frameworks -F/System/Library/PrivateFrameworks
 	LLVMLibsOptions += -framework Foundation -framework CoreFoundation
 	LLVMLibsOptions += -framework CoreServices -framework Carbon
@@ -111,7 +110,7 @@
     # Mac OS X 10.4 and earlier tools do not allow a second -install_name on command line
     DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/')
     ifneq ($(DARWIN_VERS),8)
-       LLVMLibsOptions  += -no-undefined -Wl,-install_name \
+       LLVMLibsOptions  += -Wl,-install_name \
                            -Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
     endif
 endif





More information about the lldb-commits mailing list