mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Create a default symver on Linux like ELF OSes.
Patch by Adam Jackson. llvm-svn: 214418
This commit is contained in:
parent
ad02adcc91
commit
02f2007174
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user