- 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:
parent
c8226c1e04
commit
068c8872ea
@ -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>
|
||||
|
||||
|
2
gdb.spec
2
gdb.spec
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user