From cfc584d677da51bf102f1e54a330f1a4983a15e4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 11 Oct 2004 15:52:09 +0000 Subject: [PATCH] use $(TARGET_CFLAGS) --- package/bzip2/bzip2.mk | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2