summaryrefslogtreecommitdiffstats
path: root/package/bzip2
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-11 15:52:09 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-11 15:52:09 +0000
commitcfc584d677da51bf102f1e54a330f1a4983a15e4 (patch)
tree27b383dce43c22c1ba4a3990e78da3076abf1f08 /package/bzip2
parent3263c5a67f97b35bc11cc362ac09f19cf0f9f449 (diff)
downloadbuildroot-novena-cfc584d677da51bf102f1e54a330f1a4983a15e4.tar.gz
buildroot-novena-cfc584d677da51bf102f1e54a330f1a4983a15e4.zip
use $(TARGET_CFLAGS)
Diffstat (limited to 'package/bzip2')
-rw-r--r--package/bzip2/bzip2.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/bzip2/bzip2.mk b/package/bzip2/bzip2.mk
index 95bd7941d..2bb395e52 100644
--- a/package/bzip2/bzip2.mk
+++ b/package/bzip2/bzip2.mk
@@ -24,6 +24,8 @@ ifeq ($(BR2_LARGEFILE),y)
$(SED) "s,^BIGFILES,#BIGFILES,g" $(BZIP2_DIR)/Makefile
$(SED) "s,^BIGFILES,#BIGFILES,g" $(BZIP2_DIR)/Makefile-libbz2_so
endif
+ $(SED) "s:-O2:$(TARGET_CFLAGS):" $(BZIP2_DIR)/Makefile
+ $(SED) "s:-O2:$(TARGET_CFLAGS):" $(BZIP2_DIR)/Makefile-libbz2_so
touch $(BZIP2_DIR)/.unpacked
$(STAGING_DIR)/lib/libbz2.so.1.0.2: $(BZIP2_DIR)/.unpacked