Add -Wno-unused-function to --enable-gdb-build-warnings to prevent the build failure
This commit is contained in:
parent
02309bbf2d
commit
f7bcd3d6e0
7
gdb.spec
7
gdb.spec
@ -518,7 +518,7 @@ COMMON_GDB_CONFIGURE_FLAGS="\
|
|||||||
--mandir=%{_mandir} \
|
--mandir=%{_mandir} \
|
||||||
--infodir=%{_infodir} \
|
--infodir=%{_infodir} \
|
||||||
--with-gdb-datadir=%{_datadir}/gdb \
|
--with-gdb-datadir=%{_datadir}/gdb \
|
||||||
--enable-gdb-build-warnings=,-Wno-unused,-Wno-deprecated-declarations \
|
--enable-gdb-build-warnings=,-Wno-unused,-Wno-deprecated-declarations,-Wno-unused-function\
|
||||||
--enable-build-with-cxx \
|
--enable-build-with-cxx \
|
||||||
%ifnarch %{ix86} alpha ppc s390 s390x x86_64 ppc64 ppc64le sparc sparcv9 sparc64 %{arm} aarch64
|
%ifnarch %{ix86} alpha ppc s390 s390x x86_64 ppc64 ppc64le sparc sparcv9 sparc64 %{arm} aarch64
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
@ -1144,6 +1144,11 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 10 2021 Alexandra Hájková - 11.1-8
|
||||||
|
- Add -Wno-unused-function to --enable-gdb-build-warnings to prevent the build failure:
|
||||||
|
"../../gdb/c-exp.y:3455:1: error: 'void c_print_token(FILE*, int, YYSTYPE)'
|
||||||
|
defined but not used [-Werror=unused-function]"
|
||||||
|
|
||||||
* Mon Jan 10 2022 Alexandra Hájková - 11.1-8
|
* Mon Jan 10 2022 Alexandra Hájková - 11.1-8
|
||||||
- Backport upstream patch "gdb: add set/show commands for managing debuginfod"
|
- Backport upstream patch "gdb: add set/show commands for managing debuginfod"
|
||||||
(RHBZ 2024875, Aaron Merey).
|
(RHBZ 2024875, Aaron Merey).
|
||||||
|
Loading…
Reference in New Issue
Block a user