SHA256
1
0
forked from pool/gdb

- Fix build with gcc 13 by using -Wno-error=enum-int-mismatch.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=326
This commit is contained in:
Tom de Vries 2022-08-02 12:06:30 +00:00 committed by Git OBS Bridge
parent c8226c1e04
commit 068c8872ea
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 2 12:01:23 UTC 2022 - Tom de Vries <tdevries@suse.com>
- Fix build with gcc 13 by using -Wno-error=enum-int-mismatch.
-------------------------------------------------------------------
Sat Jul 30 07:24:23 UTC 2022 - Tom de Vries <tdevries@suse.com>

View File

@ -838,7 +838,7 @@ export CXX
export CFLAGS="$RPM_OPT_FLAGS"
# Add your -Wno-x/-Wno-error=y options here:
for opt in -Wno-error=odr; do
for opt in -Wno-error=odr -Wno-error=enum-int-mismatch; do
# checking for acceptance of -Wno-foo is a bit wieldy: GCC doesn't
# warn about unknown -Wno- flags, _except_ if there are other
# diagnostics as well, so let's force an uninitialized use warning