summaryrefslogtreecommitdiffstats
path: root/package/gzip
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-11 20:39:52 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-11 20:39:52 +0000
commit93b92d42a9d6d71fc12ca93fd693158b233cbbe3 (patch)
treee01ea9608275e1af71f90c9426892fda8b0eae47 /package/gzip
parent669c7662612606333137180a23189d49ab704432 (diff)
downloadbuildroot-93b92d42a9d6d71fc12ca93fd693158b233cbbe3.tar.gz
buildroot-93b92d42a9d6d71fc12ca93fd693158b233cbbe3.zip
use $TARGET_CFLAGS
Diffstat (limited to 'package/gzip')
-rw-r--r--package/gzip/gzip.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk
index 7c9b91aa1b..0c1b21b9c6 100644
--- a/package/gzip/gzip.mk
+++ b/package/gzip/gzip.mk
@@ -3,9 +3,10 @@
# gzip
#
#############################################################
-GZIP_SOURCE:=gzip-1.3.5.tar.gz
+GZIP_VER:=1.3.5
+GZIP_SOURCE:=gzip-$(GZIP_VER).tar.gz
GZIP_SITE:=ftp://alpha.gnu.org/gnu/gzip
-GZIP_DIR:=$(BUILD_DIR)/gzip-1.3.5
+GZIP_DIR:=$(BUILD_DIR)/gzip-$(GZIP_VER)
GZIP_CAT:=zcat
GZIP_BINARY:=$(GZIP_DIR)/gzip
GZIP_TARGET_BINARY:=$(TARGET_DIR)/bin/zmore
@@ -26,6 +27,7 @@ $(GZIP_DIR)/.unpacked: $(DL_DIR)/$(GZIP_SOURCE)
$(GZIP_DIR)/.configured: $(GZIP_DIR)/.unpacked
(cd $(GZIP_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
OpenPOWER on IntegriCloud