Author: nbd
Date: 2015-07-19 16:59:16 +0200 (Sun, 19 Jul 2015)
New Revision: 46423

Modified:
   trunk/package/devel/strace/Makefile
Log:
strace: add kernel headers include to host cflags to fix build on non-linux 
systems

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/package/devel/strace/Makefile
===================================================================
--- trunk/package/devel/strace/Makefile 2015-07-19 14:59:09 UTC (rev 46422)
+++ trunk/package/devel/strace/Makefile 2015-07-19 14:59:16 UTC (rev 46423)
@@ -27,6 +27,8 @@
 
 include $(INCLUDE_DIR)/package.mk
 
+HOST_CFLAGS += -I$(LINUX_DIR)/user_headers/include
+
 CONFIGURE_VARS+= \
        LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
        CPPFLAGS_FOR_BUILD="$(HOST_CPPFLAGS)" \
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to