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