summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-10-07 00:03:11 +0000
committerChris Lattner <sabre@nondot.org>2004-10-07 00:03:11 +0000
commitfc303099c945a9c255215c64e629c2a75aadb353 (patch)
tree1236535e8cc017bda3ad4ef606f162601c2a6c14 /llvm
parent76319a83bd09ee8aabcf7bb639984b990514eeaf (diff)
downloadbcm5719-llvm-fc303099c945a9c255215c64e629c2a75aadb353.tar.gz
bcm5719-llvm-fc303099c945a9c255215c64e629c2a75aadb353.zip
Don't add libz or libbz2 to the USEDLIBS lists, those are for LLVM libraries.
llvm-svn: 16798
Diffstat (limited to 'llvm')
-rw-r--r--llvm/Makefile.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules
index adf5ef9f796..393ce48d07b 100644
--- a/llvm/Makefile.rules
+++ b/llvm/Makefile.rules
@@ -658,10 +658,10 @@ ifdef TOOLNAME
# 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)
OpenPOWER on IntegriCloud