- 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:
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
|
||||
|
Reference in New Issue
Block a user