summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2019-08-01 11:45:45 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2019-08-01 11:45:45 -0400
commit43c0e4a9d5aa5231e7eebfd0db1cef099c0f2ca3 (patch)
treea9d0833a9c24672ecf459302d099ccd5ea9aaaf8 /configure
parent6647894889968030cfe8f567fb3a9ab410d8f1ea (diff)
downloadcups-43c0e4a9d5aa5231e7eebfd0db1cef099c0f2ca3.tar.gz
Update GCC options (hopefully will cover more future versions...)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index 840b42c34..eb848725c 100755
--- a/configure
+++ b/configure
@@ -6911,8 +6911,10 @@ 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.* | 8.*)
- WARNING_OPTIONS="$WARNING_OPTIONS -Wno-format-truncation -Wno-tautological-compare"
+ 1.* | 2.* | 3.* | 4.* | 5.* | 6.* | \(clang-*)
+ ;;
+ *)
+ WARNING_OPTIONS="$WARNING_OPTIONS -Wno-format-truncation -Wno-format-overflow -Wno-tautological-compare"
;;
esac