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.ny...@iki.fi>

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
 
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to