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