mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 07:34:06 +00:00
Allow specifying a file with symbols to export
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8531 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fc01114c65
commit
22c8328058
@ -469,7 +469,11 @@ LinkBCLib := $(LLVMGCC) -shared
|
||||
ifdef EXPORTED_SYMBOL_LIST
|
||||
LinkBCLib += -Xlinker -internalize-public-api-list=$(EXPORTED_SYMBOL_LIST)
|
||||
else
|
||||
ifdef EXPORTED_SYMBOL_FILE
|
||||
LinkBCLib += -Xlinker -internalize-public-api-file=$(EXPORTED_SYMBOL_FILE)
|
||||
else
|
||||
LinkBCLib += -Xlinker -disable-internalize
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user