]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Update default compiler options for GCC 8.x.
authorMichael R Sweet <michaelrsweet@gmail.com>
Fri, 16 Nov 2018 20:58:29 +0000 (15:58 -0500)
committerMichael R Sweet <michaelrsweet@gmail.com>
Fri, 16 Nov 2018 20:58:29 +0000 (15:58 -0500)
config-scripts/cups-compiler.m4
configure

index 0921b25ddf1cf997c47483b67daea2652b06de91..08c3f131c647c30058e7f5021379f2687bc9bd5a 100644 (file)
@@ -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
index c8e95181bc4c922421e68f94816e7f63169f5625..16f58abd9fbef09c424c5d73e664047b33540205 100755 (executable)
--- 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