acinclude: Correct CFLAGS variable name typo.
PATCH 1/1 acinclude: Correct CFLAGS variable name typo.
The "-Wvariadic-macros" compiler command line option was appended to the "CFALGS" variables instead of "CFLAGS", which prevented it from being used when building ELL. Change "CFALGS" to "CFLAGS".
--- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
acinclude.m4 +1 -1
@@ -60,7 +60,7 @@ AC_DEFUN([COMPILER_FLAGS], [ CFLAGS+=" -Wredundant-decls" CFLAGS+=" -Wswitch-enum" CFLAGS+=" -Wtype-limits" - CFALGS+=" -Wvariadic-macros" + CFLAGS+=" -Wvariadic-macros" CFLAGS+=" -Wformat -Wformat-security" if ( $CC -v 2>/dev/null | grep "gcc version" ); then CFLAGS+=" -Wcast-align"
Signature · 1 line
2.20.1
Denis Kenzior
AppliedHi Ossama,
Quoted 7 lines · Ossama Othman
The "-Wvariadic-macros" compiler command line option was appended to the "CFALGS" variables instead of "CFLAGS", which prevented it from being used when building ELL. Change "CFALGS" to "CFLAGS".
--- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Regards,
-Denis