tstellar / rpms / llvm

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