mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
Create a default symver on Linux like ELF OSes.
Patch by Adam Jackson. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214418 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d65d3717c
commit
26d83150b4
@ -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…
Reference in New Issue
Block a user