[compiler-rt] r176466 - update how libcompiler_rt.dylib links under libSystem.dylib on MacOSX
Nick Kledzik
kledzik at apple.com
Mon Mar 4 16:16:52 PST 2013
Author: kledzik
Date: Mon Mar 4 18:16:52 2013
New Revision: 176466
URL: http://llvm.org/viewvc/llvm-project?rev=176466&view=rev
Log:
update how libcompiler_rt.dylib links under libSystem.dylib on MacOSX
Modified:
compiler-rt/trunk/make/AppleBI.mk
Modified: compiler-rt/trunk/make/AppleBI.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/make/AppleBI.mk?rev=176466&r1=176465&r2=176466&view=diff
==============================================================================
--- compiler-rt/trunk/make/AppleBI.mk (original)
+++ compiler-rt/trunk/make/AppleBI.mk Mon Mar 4 18:16:52 2013
@@ -57,7 +57,13 @@ $(OBJROOT)/libcompiler_rt-%.dylib : $(OB
$(OBJROOT)/version.c -arch $* -dynamiclib \
-install_name /usr/lib/system/libcompiler_rt.dylib \
-compatibility_version 1 -current_version $(RC_ProjectSourceVersion) \
- -nodefaultlibs -lSystem -umbrella System -dead_strip \
+ -nodefaultlibs -umbrella System -dead_strip \
+ -Wl,-upward-lunwind \
+ -Wl,-upward-lsystem_m \
+ -Wl,-upward-lsystem_c \
+ -Wl,-ldyld \
+ -Wl,-lsystem_kernel \
+ -L$(SDKROOT)/usr/lib/system \
$(DYLIB_FLAGS) -Wl,-force_load,$^ -o $@
# Rule to make fat dylib
More information about the llvm-commits
mailing list