summaryrefslogtreecommitdiff
path: root/recipes/llvm/llvm2.7/link.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/llvm/llvm2.7/link.patch')
-rw-r--r--recipes/llvm/llvm2.7/link.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/llvm/llvm2.7/link.patch b/recipes/llvm/llvm2.7/link.patch
new file mode 100644
index 0000000000..059bd92295
--- /dev/null
+++ b/recipes/llvm/llvm2.7/link.patch
@@ -0,0 +1,12 @@
+Index: llvm-2.7/tools/llvm-shlib/Makefile
+===================================================================
+--- llvm-2.7/tools/llvm-shlib/Makefile (revision 103711)
++++ llvm-2.7/tools/llvm-shlib/Makefile (working copy)
+@@ -56,5 +56,5 @@
+ LLVMLibsOptions := -Wl,--whole-archive $(LLVMLibsOptions)
+ -Wl,--no-whole-archive
+ # Don't allow unresolved symbols.
+- LLVMLibsOptions += -Wl,--no-undefined
++ LLVMLibsOptions += -lgcc -Wl,--no-undefined
+ endif
+