projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b289b40
)
improve solaris support, from PR9109, patch by Yuri!
author
Chris Lattner
<sabre@nondot.org>
Sun, 13 Feb 2011 08:38:44 +0000
(08:38 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 13 Feb 2011 08:38:44 +0000
(08:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125456
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-shlib/Makefile
patch
|
blob
|
history
diff --git
a/tools/llvm-shlib/Makefile
b/tools/llvm-shlib/Makefile
index e7605c8f4e3765fdc4a50c58281ef6bfdd48b16a..9e6facab7028fe80c9af83727f3ad878c785e131 100644
(file)
--- a/
tools/llvm-shlib/Makefile
+++ b/
tools/llvm-shlib/Makefile
@@
-73,6
+73,11
@@
ifeq ($(HOST_OS),Linux)
LLVMLibsOptions += -Wl,--no-undefined
endif
+ifeq ($(HOST_OS),SunOS)
+ # add -z allextract ahead of other libraries on Solaris
+ LLVMLibsOptions := -Wl,-z -Wl,allextract $(LLVMLibsOptions)
+endif
+
ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
SHLIB_STUBS := $(addprefix $(ObjDir)/, $(SHLIB_FRAG_NAMES))