3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00

build: Drop Werror=variadic-macros

The following commit:
80db8fd86c ("build: Use -Wvariadic-macros warning")
added a warning about variadic-macros.  But it isn't quite clear why
since variadic macros are used throghout iwd.  GCC doesn't honor this
option, but clang does.  Since there's no real reason to stop using
variadic macros at this time, drop this warning.
This commit is contained in:
Denis Kenzior 2023-04-13 22:12:03 -05:00
parent b42923dc5d
commit 8465dddcab

View File

@ -58,7 +58,6 @@ AC_DEFUN([COMPILER_FLAGS], [
CFLAGS+=" -Wdeclaration-after-statement" CFLAGS+=" -Wdeclaration-after-statement"
CFLAGS+=" -Wmissing-declarations" CFLAGS+=" -Wmissing-declarations"
CFLAGS+=" -Wredundant-decls" CFLAGS+=" -Wredundant-decls"
CFALGS+=" -Wvariadic-macros"
CFLAGS+=" -Wformat -Wformat-security" CFLAGS+=" -Wformat -Wformat-security"
if ( $CC -v 2>/dev/null | grep "gcc version" ); then if ( $CC -v 2>/dev/null | grep "gcc version" ); then
CFLAGS+=" -Wcast-align" CFLAGS+=" -Wcast-align"