diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-08-01 11:45:45 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-08-01 11:45:45 -0400 |
commit | 43c0e4a9d5aa5231e7eebfd0db1cef099c0f2ca3 (patch) | |
tree | a9d0833a9c24672ecf459302d099ccd5ea9aaaf8 /configure | |
parent | 6647894889968030cfe8f567fb3a9ab410d8f1ea (diff) | |
download | cups-43c0e4a9d5aa5231e7eebfd0db1cef099c0f2ca3.tar.gz |
Update GCC options (hopefully will cover more future versions...)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |