summaryrefslogtreecommitdiffstats
path: root/make/grep.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/grep.mk')
-rw-r--r--make/grep.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/grep.mk b/make/grep.mk
index 7c205833c..449904382 100644
--- a/make/grep.mk
+++ b/make/grep.mk
@@ -22,6 +22,7 @@ $(GNUGREP_DIR)/.unpacked: $(DL_DIR)/$(GNUGREP_SOURCE)
$(GNUGREP_DIR)/.configured: $(GNUGREP_DIR)/.unpacked
(cd $(GNUGREP_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \