From f5c21772fcce386eafbc1fa45a6321254a572dd8 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 25 Jan 2022 15:24:01 +0100 Subject: [PATCH] 12.0.1-0.3 --- gcc12-Wno-format-security.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc12-Wno-format-security.patch b/gcc12-Wno-format-security.patch index 3abf63b..43e482a 100644 --- a/gcc12-Wno-format-security.patch +++ b/gcc12-Wno-format-security.patch @@ -10,7 +10,7 @@ --- gcc/configure.ac.jj 2017-02-13 12:20:53.000000000 +0100 +++ gcc/configure.ac 2017-02-25 12:42:32.859175403 +0100 -@@ -480,7 +480,7 @@ AC_ARG_ENABLE(build-format-warnings, +@@ -570,7 +570,7 @@ AC_ARG_ENABLE(build-format-warnings, AS_HELP_STRING([--disable-build-format-warnings],[don't use -Wformat while building GCC]), [],[enable_build_format_warnings=yes]) AS_IF([test $enable_build_format_warnings = no], @@ -18,10 +18,10 @@ + [wf_opt="-Wno-format -Wno-format-security"],[wf_opt=]) ACX_PROG_CXX_WARNING_OPTS( m4_quote(m4_do([-W -Wall -Wno-narrowing -Wwrite-strings ], - [-Wcast-qual -Wno-error=format-diag $wf_opt])), + [-Wcast-qual $wf_opt])), --- gcc/configure.jj 2017-02-13 12:20:52.000000000 +0100 +++ gcc/configure 2017-02-25 12:42:50.041946391 +0100 -@@ -6647,7 +6647,7 @@ else +@@ -7077,7 +7077,7 @@ else fi if test $enable_build_format_warnings = no; then :