diff --git a/m4/compiler_options.m4 b/m4/compiler_options.m4 index e01c0fcbce254df2a6c6e765fd46d76a4545009b..8a3a9c4f5f60e90be7911d6e25f0b245be71b1ec 100644 --- a/m4/compiler_options.m4 +++ b/m4/compiler_options.m4 @@ -92,7 +92,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then -Wno-unused-parameter \ ; do dnl GCC 4.4 does not warn when checking for -Wno-* flags (https://gcc.gnu.org/wiki/FAQ#wnowarning) - _NM_COMPILER_FLAG([$(printf '%s' "$option" | sed 's/^-Wno-/-W/')], [], + _NM_COMPILER_FLAG([$(printf '%s' "$option" | sed 's/^-Wno-/-W/')], [], [CFLAGS_MORE_WARNINGS="$CFLAGS_MORE_WARNINGS $option"], []) done unset option