summaryrefslogtreecommitdiff
path: root/config-scripts
diff options
context:
space:
mode:
authorSteve Algernon <salgernon@apple.com>2022-05-25 10:32:35 -0700
committerSteve Algernon <salgernon@apple.com>2022-05-25 14:46:42 -0700
commit859ea4481c85a2dd6157396a22b3c8b3b726e06b (patch)
tree5fa0230281469b1ae4388661cf9d1af9239b3c6b /config-scripts
parent0bc9dc4658c26920a3f66da7dd234be463ca572e (diff)
downloadcups-859ea4481c85a2dd6157396a22b3c8b3b726e06b.tar.gz
CUPS v2.3.6 for CVE-2022-26691
Diffstat (limited to 'config-scripts')
-rw-r--r--config-scripts/cups-compiler.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/config-scripts/cups-compiler.m4 b/config-scripts/cups-compiler.m4
index 2b619977c..604faf1b9 100644
--- a/config-scripts/cups-compiler.m4
+++ b/config-scripts/cups-compiler.m4
@@ -169,7 +169,7 @@ if test -n "$GCC"; then
fi
# Add useful warning options for tracking down problems...
- WARNING_OPTIONS="-Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion"
+ WARNING_OPTIONS="-Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-unused-but-set-variable -Wno-unused-variable"
# Test GCC version for certain warning flags since -Werror
# doesn't trigger...
@@ -182,7 +182,7 @@ if test -n "$GCC"; then
# Additional warning options for development testing...
if test -d .git; then
- WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations $WARNING_OPTIONS"
+ WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations -Wno-unknown-warning-option $WARNING_OPTIONS"
fi
else
# Add vendor-specific compiler options...