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

Chris Lattner lattner at cs.uiuc.edu
Wed Oct 6 17:03:25 PDT 2004



Changes in directory llvm:

Makefile.rules updated: 1.200 -> 1.201
---
Log message:

Don't add libz or libbz2 to the USEDLIBS lists, those are for LLVM libraries.


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

Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.200 llvm/Makefile.rules:1.201
--- llvm/Makefile.rules:1.200	Mon Oct  4 02:05:06 2004
+++ llvm/Makefile.rules	Wed Oct  6 19:03:11 2004
@@ -658,10 +658,10 @@
 
 # Handle compression libraries automatically
 ifeq ($(HAVE_BZIP2),1)
-USEDLIBS += bz2.a
+TOOLLINKOPTS += -lbz2
 endif
 ifeq ($(HAVE_ZLIB),1)
-USEDLIBS += z.a
+TOOLLINKOPTS += -lz
 endif
 # TOOLEXENAME* - These compute the output filenames to generate...
 TOOLEXENAME_G := $(DESTTOOLDEBUG)/$(TOOLNAME)






More information about the llvm-commits mailing list