diff options
Diffstat (limited to 'make/AppleBI.mk')
-rw-r--r-- | make/AppleBI.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/make/AppleBI.mk b/make/AppleBI.mk index b5e702b10e66..d3d4771309c4 100644 --- a/make/AppleBI.mk +++ b/make/AppleBI.mk @@ -57,7 +57,14 @@ $(OBJROOT)/libcompiler_rt-%.dylib : $(OBJROOT)/darwin_bni/Release/%/libcompiler_ $(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,-upward-lsystem_platform \ + -Wl,-ldyld \ + -Wl,-lsystem_kernel \ + -L$(SDKROOT)/usr/lib/system \ $(DYLIB_FLAGS) -Wl,-force_load,$^ -o $@ # Rule to make fat dylib |