From: Chris Lattner Date: Tue, 21 Oct 2003 18:00:37 +0000 (+0000) Subject: When linking the runtime libraries, do not link -lc and -lgcc into the libraries X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=771ed15f652c365ede84d1896b29b137d1829ed9;p=oota-llvm.git When linking the runtime libraries, do not link -lc and -lgcc into the libraries git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9339 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.rules b/Makefile.rules index 2b69db81303..ae697354af4 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -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