From: Mike Frysinger Date: Mon, 11 Oct 2004 15:52:09 +0000 (-0000) Subject: use $(TARGET_CFLAGS) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cfc584d677da51bf102f1e54a330f1a4983a15e4;p=buildroot.git use $(TARGET_CFLAGS) --- diff --git a/package/bzip2/bzip2.mk b/package/bzip2/bzip2.mk index 95bd7941d5..2bb395e52c 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