From 130c5f657cb5b1060c1f90a588ab9ae193a6e9c3 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 16 Nov 2018 15:59:01 -0500 Subject: [PATCH] Update default compiler options for GCC 8.x. --- config-scripts/cups-compiler.m4 | 2 +- configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config-scripts/cups-compiler.m4 b/config-scripts/cups-compiler.m4 index 7bde5662c9..f804f562b1 100644 --- a/config-scripts/cups-compiler.m4 +++ b/config-scripts/cups-compiler.m4 @@ -162,7 +162,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 35272d582f..18a68f5ea8 100755 --- a/configure +++ b/configure @@ -7020,7 +7020,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 -- 2.47.2