forked from OSchip/llvm-project
When linking the runtime libraries, do not link -lc and -lgcc into the libraries
llvm-svn: 9339
This commit is contained in:
parent
5382729e0c
commit
8aaa7f77c7
|
@ -475,7 +475,7 @@ endif
|
|||
# Rules for building libraries
|
||||
#--------------------------------------------------------------------
|
||||
|
||||
LinkBCLib := $(LLVMGCC) -shared
|
||||
LinkBCLib := $(LLVMGCC) -shared -nostdlib
|
||||
ifdef EXPORTED_SYMBOL_LIST
|
||||
LinkBCLib += -Xlinker -internalize-public-api-list=$(EXPORTED_SYMBOL_LIST)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue