summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-21 18:00:37 +0000
committerChris Lattner <sabre@nondot.org>2003-10-21 18:00:37 +0000
commit8aaa7f77c7015cbb134561105a252b3359954643 (patch)
treedc4baba2fa098675604f11dbd12da0df89b879ab /llvm
parent5382729e0cfd45db23ea7472719f31ccfe104ef6 (diff)
downloadbcm5719-llvm-8aaa7f77c7015cbb134561105a252b3359954643.tar.gz
bcm5719-llvm-8aaa7f77c7015cbb134561105a252b3359954643.zip
When linking the runtime libraries, do not link -lc and -lgcc into the libraries
llvm-svn: 9339
Diffstat (limited to 'llvm')
-rw-r--r--llvm/Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules
index 2b69db81303..ae697354af4 100644
--- a/llvm/Makefile.rules
+++ b/llvm/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
OpenPOWER on IntegriCloud