When linking the runtime libraries, do not link -lc and -lgcc into the libraries

llvm-svn: 9339
This commit is contained in:
Chris Lattner 2003-10-21 18:00:37 +00:00
parent 5382729e0c
commit 8aaa7f77c7
1 changed files with 1 additions and 1 deletions

View File

@ -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