valgrind: needs kernel headers (and doesn't respect CFLAGS)
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 15 Jun 2008 19:17:23 +0000 (19:17 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 15 Jun 2008 19:17:23 +0000 (19:17 -0000)
package/valgrind/valgrind.mk

index 8ba144830e9dad9b2eb7ad26fec0603455346568..6a8af8b5d4a5328a071dbe7eeae6279ba7949dd8 100644 (file)
@@ -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) \