forked from OSchip/llvm-project
Search for the export map in a place that it can be found.
llvm-svn: 65552
This commit is contained in:
parent
dbf7b1c6e1
commit
8f9c4e67bb
|
@ -1079,7 +1079,7 @@ LD.Flags += -Wl,-exported_symbol -Wl,_main
|
|||
endif
|
||||
|
||||
ifeq ($(OS), $(filter $(OS), Linux NetBSD FreeBSD))
|
||||
LD.Flags += -Wl,--version-script=Driver.map
|
||||
LD.Flags += -Wl,--version-script=$(LLVM_SRC_ROOT)/ExportMap.map
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
global: main;
|
||||
local: *;
|
||||
};
|
Loading…
Reference in New Issue