[llvm-commits] CVS: llvm/Makefile.rules

Chris Lattner lattner at cs.uiuc.edu
Tue Oct 21 13:01:01 PDT 2003


Changes in directory llvm:

Makefile.rules updated: 1.148 -> 1.149

---
Log message:

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


---
Diffs of the changes:  (+1 -1)

Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.148 llvm/Makefile.rules:1.149
--- llvm/Makefile.rules:1.148	Tue Oct 21 09:33:46 2003
+++ llvm/Makefile.rules	Tue Oct 21 13:00:37 2003
@@ -475,7 +475,7 @@
 # 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





More information about the llvm-commits mailing list