forked from OSchip/llvm-project
improve solaris support, from PR9109, patch by Yuri!
llvm-svn: 125456
This commit is contained in:
parent
333e27d74b
commit
20541a6da6
|
@ -73,6 +73,11 @@ ifeq ($(HOST_OS),Linux)
|
||||||
LLVMLibsOptions += -Wl,--no-undefined
|
LLVMLibsOptions += -Wl,--no-undefined
|
||||||
endif
|
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))
|
ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
|
||||||
|
|
||||||
SHLIB_STUBS := $(addprefix $(ObjDir)/, $(SHLIB_FRAG_NAMES))
|
SHLIB_STUBS := $(addprefix $(ObjDir)/, $(SHLIB_FRAG_NAMES))
|
||||||
|
|
Loading…
Reference in New Issue