From 01da93b2186f3c806cde03bd07b13ecef2e57708 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 15 Jun 2008 19:17:23 +0000 Subject: [PATCH] valgrind: needs kernel headers (and doesn't respect CFLAGS) --- package/valgrind/valgrind.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk index 8ba144830e..6a8af8b5d4 100644 --- a/package/valgrind/valgrind.mk +++ b/package/valgrind/valgrind.mk @@ -25,6 +25,7 @@ $(VALGRIND_DIR)/.configured: $(VALGRIND_DIR)/.patched (cd $(VALGRIND_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_ARGS) \ + CC="$(TARGET_CC) $(TARGET_CFLAGS) -I$(LINUX_HEADERS_DIR)/include" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ -- 2.30.2