Accepting request 998802 from devel:gcc
- Enable debuginfod for all archs as we index all TW RPM files. - Recommend libdebuginfod1 when one installs gdb so that it can utilize debuginfod server by default. (forwarded request 998530 from marxin) OBS-URL: https://build.opensuse.org/request/show/998802 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdb?expand=0&rev=164
This commit is contained in:
commit
a135f3a890
12
gdb.changes
12
gdb.changes
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 22 02:58:00 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Enable debuginfod for all archs as we index all TW RPM files.
|
||||
- Recommend libdebuginfod1 when one installs gdb so that
|
||||
it can utilize debuginfod server by default.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
8
gdb.spec
8
gdb.spec
@ -342,7 +342,6 @@ Patch2027: fix-for-gdb.base-solib-search.exp-test.patch
|
||||
Patch2028: make-gdb.ada-float-bits.exp-more-generic.patch
|
||||
Patch2029: gdb-testsuite-fix-gdb.threads-killed-outside.exp-on-aarch64.patch
|
||||
|
||||
|
||||
# Backports from master, not yet available in next release.
|
||||
|
||||
#
|
||||
@ -384,7 +383,6 @@ Patch2114: gdb-fix-watchpoints-triggered.patch
|
||||
|
||||
#
|
||||
|
||||
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
%if 0%{suse_version} > 1110
|
||||
@ -427,13 +425,12 @@ BuildRequires: %{python}-devel
|
||||
%endif # 0%{!?_without_python:1}
|
||||
%global have_libdebuginfod 0
|
||||
%if 0%{?suse_version} > 1500
|
||||
%ifarch %{ix86} x86_64 aarch64 armv7l ppc64 ppc64le s390x
|
||||
%global have_libdebuginfod 1
|
||||
%endif
|
||||
%endif
|
||||
%if 0%{have_libdebuginfod}
|
||||
BuildRequires: libdebuginfod-devel
|
||||
BuildRequires: libdebuginfod1
|
||||
Recommends: libdebuginfod1
|
||||
%endif
|
||||
%global have_libipt 0
|
||||
%if 0%{suse_version} > 1110
|
||||
@ -789,7 +786,6 @@ find -name "*.info*"|xargs rm -f
|
||||
%patch2113 -p1
|
||||
%patch2114 -p1
|
||||
|
||||
|
||||
#unpack libipt
|
||||
%if 0%{have_libipt}
|
||||
tar xzf %{SOURCE7}
|
||||
@ -838,7 +834,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