From: Michael R Sweet Date: Sat, 6 Mar 2021 01:37:43 +0000 (-0500) Subject: Fix warning options. X-Git-Tag: v2.4b1~238 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f13074f6b0335814563296aadca1f306ff4d481;p=thirdparty%2Fcups.git Fix warning options. --- diff --git a/config-scripts/cups-compiler.m4 b/config-scripts/cups-compiler.m4 index 9120720ba6..9f3cde2606 100644 --- a/config-scripts/cups-compiler.m4 +++ b/config-scripts/cups-compiler.m4 @@ -182,7 +182,7 @@ AS_IF([test -n "$GCC"], [ AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [ AC_MSG_RESULT(yes) - WARNING_OPTIONS="$WARNINGS -Wno-$warning" + WARNING_OPTIONS="$WARNING_OPTIONS -Wno-$warning" ], [ AC_MSG_RESULT(no) ]) diff --git a/configure b/configure index 848e118bb6..5c46b72f4f 100755 --- a/configure +++ b/configure @@ -8060,7 +8060,7 @@ then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 printf "%s\n" "yes" >&6; } - WARNING_OPTIONS="$WARNINGS -Wno-$warning" + WARNING_OPTIONS="$WARNING_OPTIONS -Wno-$warning" else $as_nop