From: Michael R Sweet Date: Fri, 16 Nov 2018 20:58:29 +0000 (-0500) Subject: Update default compiler options for GCC 8.x. X-Git-Tag: v2.3b6~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8a73fd881e5d01ed1450aa95320c1f31cb49806;p=thirdparty%2Fcups.git Update default compiler options for GCC 8.x. --- diff --git a/config-scripts/cups-compiler.m4 b/config-scripts/cups-compiler.m4 index 0921b25ddf..08c3f131c6 100644 --- a/config-scripts/cups-compiler.m4 +++ b/config-scripts/cups-compiler.m4 @@ -158,7 +158,7 @@ if test -n "$GCC"; then # doesn't trigger... gccversion=`$CC --version | head -1 | awk '{print $NF}'` case "$gccversion" in - 7.*) + 7.* | 8.*) OPTIM="$OPTIM -Wno-format-truncation -Wno-tautological-compare" ;; esac diff --git a/configure b/configure index c8e95181bc..16f58abd9f 100755 --- a/configure +++ b/configure @@ -7050,7 +7050,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext # doesn't trigger... gccversion=`$CC --version | head -1 | awk '{print $NF}'` case "$gccversion" in - 7.*) + 7.* | 8.*) OPTIM="$OPTIM -Wno-format-truncation -Wno-tautological-compare" ;; esac