summaryrefslogtreecommitdiffstats
path: root/package/fakeroot/fakeroot.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/fakeroot/fakeroot.mk')
-rw-r--r--package/fakeroot/fakeroot.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/fakeroot/fakeroot.mk b/package/fakeroot/fakeroot.mk
index a792a4379..62da61970 100644
--- a/package/fakeroot/fakeroot.mk
+++ b/package/fakeroot/fakeroot.mk
@@ -72,6 +72,8 @@ $(FAKEROOT_DIR2)/.configured: $(FAKEROOT_SOURCE_DIR)/.unpacked
mkdir -p $(FAKEROOT_DIR2)
(cd $(FAKEROOT_DIR2); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)" \
$(FAKEROOT_SOURCE_DIR)/configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \