llvm/0002-linker-flags-speedup-memory.patch
Jan Vcelak be655c46e5 update to 3.3, add compiler-rt and lldb
- update to 3.3
- enable compiler-rt compilation, enables ASAN
- add lldb sources (LLVM debugger)
- clean up documentation
- remove patches applied upstream
- remove unused patches and snapshot scripts
- place all documentation files in %install (%files seems to have some
  limit on number of files matched by * wildcard)
2013-11-13 23:39:42 +01:00

22 lines
578 B
Diff

Hack the linker flags for shared libs for speed and memory usage
---
tools/llvm-shlib/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/llvm-shlib/Makefile b/tools/llvm-shlib/Makefile
index 6d6c6e9..4038df4 100644
--- a/tools/llvm-shlib/Makefile
+++ b/tools/llvm-shlib/Makefile
@@ -76,7 +76,7 @@ endif
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU))
# Don't allow unresolved symbols.
- LLVMLibsOptions += -Wl,--no-undefined
+ LLVMLibsOptions += -Wl,--no-undefined -Wl,-Bsymbolic
endif
ifeq ($(HOST_OS),SunOS)
--
1.8.3.1