[llvm-commits] [llvm] r74674 - /llvm/trunk/tools/lto/Makefile
John Mosby
ojomojo at gmail.com
Wed Jul 1 17:10:23 PDT 2009
Author: jdm
Date: Wed Jul 1 19:10:23 2009
New Revision: 74674
URL: http://llvm.org/viewvc/llvm-project?rev=74674&view=rev
Log:
fix ld error with -no-undefined switch, which is undefined on darwin8
Modified:
llvm/trunk/tools/lto/Makefile
Modified: llvm/trunk/tools/lto/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/Makefile?rev=74674&r1=74673&r2=74674&view=diff
==============================================================================
--- llvm/trunk/tools/lto/Makefile (original)
+++ llvm/trunk/tools/lto/Makefile Wed Jul 1 19:10:23 2009
@@ -31,7 +31,7 @@
endif
# extra options to override libtool defaults
LLVMLibsOptions := $(LLVMLibsOptions) \
- -no-undefined -avoid-version \
+ -avoid-version \
-Wl,-exported_symbols_list -Wl,$(PROJ_SRC_DIR)/lto.exports \
-Wl,-dead_strip \
-Wl,-seg1addr -Wl,0xE0000000
@@ -40,7 +40,7 @@
DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/')
ifneq ($(DARWIN_VERS),8)
LLVMLibsOptions := $(LLVMLibsOptions) \
- -Wl,-install_name \
+ -no-undefined -Wl,-install_name \
-Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
endif
endif
More information about the llvm-commits
mailing list