summaryrefslogtreecommitdiff
path: root/package/raidtools
diff options
context:
space:
mode:
Diffstat (limited to 'package/raidtools')
-rw-r--r--package/raidtools/raidtools.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/raidtools/raidtools.mk b/package/raidtools/raidtools.mk
index 235b74760..1ecbbc60b 100644
--- a/package/raidtools/raidtools.mk
+++ b/package/raidtools/raidtools.mk
@@ -22,6 +22,8 @@ $(RAIDTOOLS2_DIR)/.unpacked: $(DL_DIR)/$(RAIDTOOLS2_SOURCE)
$(RAIDTOOLS2_DIR)/.configured: $(RAIDTOOLS2_DIR)/.unpacked
(cd $(RAIDTOOLS2_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \