mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-30 06:40:53 +00:00
Allow specifying a file with symbols to export
llvm-svn: 8531
This commit is contained in:
parent
6c76d63f28
commit
6abadeddb2
@ -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…
Reference in New Issue
Block a user