aboutsummaryrefslogtreecommitdiff
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
commit771ed15f652c365ede84d1896b29b137d1829ed9 (patch)
tree3faa79549654e05d081eaa161988e20eae1bb50b
parent68172da05524b1b0d2234dd364205369f0859b5b (diff)
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
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 2b69db8130..ae697354af 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