diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2015-05-22 13:06:53 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2015-05-22 13:06:53 +0300 |
commit | 11c9581a4a381cf91d76eb918e5c8520dc5e7258 (patch) | |
tree | e70c8ac65979e140f510d087fe61c612046a0684 /sys-devel/llvm/files/llvm-2.8-darwin8.patch | |
parent | 65f821697d752257198b9dc0b9e89ad926cf5f4e (diff) |
llvm copy from gentoo repo
Diffstat (limited to 'sys-devel/llvm/files/llvm-2.8-darwin8.patch')
-rw-r--r-- | sys-devel/llvm/files/llvm-2.8-darwin8.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-devel/llvm/files/llvm-2.8-darwin8.patch b/sys-devel/llvm/files/llvm-2.8-darwin8.patch new file mode 100644 index 0000000..284ab47 --- /dev/null +++ b/sys-devel/llvm/files/llvm-2.8-darwin8.patch @@ -0,0 +1,15 @@ +Avoid like in Makefile.rules +ld: -rpath can only be used when targeting Mac OS X 10.5 or later + +--- unittests/Makefile.unittest ++++ unittests/Makefile.unittest +@@ -37,7 +37,9 @@ + ifeq ($(ENABLE_SHARED), 1) + # Add the absolute path to the dynamic library. This is ok because + # we'll never install unittests. ++ifneq ($(DARWIN_MAJVERS),4) + LD.Flags += $(RPATH) -Wl,$(SharedLibDir) ++endif + # Also set {DYLD,LD}_LIBRARY_PATH because OSX ignores the rpath most + # of the time. + Run.Shared := $(SHLIBPATH_VAR)="$(SharedLibDir)$${$(SHLIBPATH_VAR):+:}$$$(SHLIBPATH_VAR)" |