summaryrefslogtreecommitdiffstats
path: root/patches/source/llvm/llvm.rpath.fix.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/llvm/llvm.rpath.fix.diff')
-rw-r--r--patches/source/llvm/llvm.rpath.fix.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/source/llvm/llvm.rpath.fix.diff b/patches/source/llvm/llvm.rpath.fix.diff
new file mode 100644
index 00000000..d2041ff5
--- /dev/null
+++ b/patches/source/llvm/llvm.rpath.fix.diff
@@ -0,0 +1,14 @@
+--- ./Makefile.rules.orig 2013-05-03 16:53:50.000000000 -0500
++++ ./Makefile.rules 2013-12-11 15:35:52.461697869 -0600
+@@ -641,9 +641,9 @@
+ ifdef TOOLNAME
+ LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib'
+ ifdef EXAMPLE_TOOL
+- LD.Flags += $(RPATH) -Wl,$(ExmplDir) $(DynamicFlag)
++ LD.Flags += $(DynamicFlag)
+ else
+- LD.Flags += $(RPATH) -Wl,$(ToolDir) $(DynamicFlag)
++ LD.Flags += $(DynamicFlag)
+ endif
+ endif
+ else