[OpenWrt-Devel] [PATCH] px5g-standalone: fix compilation after fortify-headers

Hannu Nyman hannu.nyman at iki.fi
Tue Jun 23 15:05:54 EDT 2015


px5g-standalone: fix compilation after fortify-headers

New fortify-headers functionality (default after r46117) is apparently 
conflicting with gcc "-pedantic" option. The package px5g-standalone fails to 
compile due to "error: #include_next is a GCC extension" errors. See 
https://dev.openwrt.org/ticket/19975

Fix the compilation of px5g-standalone by removing the "-pedantic" gcc option.

Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi>

-------------- next part --------------
Index: package/utils/px5g-standalone/src/Makefile
===================================================================
--- package/utils/px5g-standalone/src/Makefile	(revision 46117)
+++ package/utils/px5g-standalone/src/Makefile	(working copy)
@@ -1,7 +1,7 @@
 CFLAGS?=-O2
 CFLAGS+=
 SFLAGS:=--std=gnu99
-WFLAGS:=-Wall -Werror -pedantic
+WFLAGS:=-Wall -Werror
 LDFLAGS?=
 BINARY:=px5g
 
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list