projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab6adeb
)
Create a default symver on Linux like ELF OSes.
author
Eric Christopher
<echristo@gmail.com>
Thu, 31 Jul 2014 18:43:43 +0000
(18:43 +0000)
committer
Eric Christopher
<echristo@gmail.com>
Thu, 31 Jul 2014 18:43:43 +0000
(18:43 +0000)
Patch by Adam Jackson.
llvm-svn: 214418
llvm/tools/llvm-shlib/Makefile
patch
|
blob
|
history
diff --git
a/llvm/tools/llvm-shlib/Makefile
b/llvm/tools/llvm-shlib/Makefile
index
19077a3
..
4e656b4
100644
(file)
--- a/
llvm/tools/llvm-shlib/Makefile
+++ b/
llvm/tools/llvm-shlib/Makefile
@@
-69,6
+69,11
@@
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU GNU/kFreeBSD))
LLVMLibsOptions += -Wl,--no-undefined
endif
+ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU GNU/kFreeBSD))
+ # Define a default symbol version
+ LLVMLibsOptions += -Wl,--default-symver
+endif
+
ifeq ($(HOST_OS),SunOS)
# add -z allextract ahead of other libraries on Solaris
LLVMLibsOptions := -Wl,-z -Wl,allextract $(LLVMLibsOptions)