public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Add -Wno-unused-function to --enable-gdb-build-warnings to prevent the build failure
@ 2026-06-28  0:00 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-28  0:00 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : f7bcd3d6e012764682203f5baedf3035fadb52ad
Author : Alexandra Hájková <ahajkova@redhat.com>
Date   : 2022-01-10T15:07:42+01:00
Stats  : +7/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/f7bcd3d6e012764682203f5baedf3035fadb52ad?branch=gdb-17.2-rebase-f44

Log:
Add -Wno-unused-function to --enable-gdb-build-warnings to prevent the build failure

---
diff --git a/gdb.spec b/gdb.spec
index a477292..8547789 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -518,7 +518,7 @@ COMMON_GDB_CONFIGURE_FLAGS="\
 	--mandir=%{_mandir}					\
 	--infodir=%{_infodir}					\
 	--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					\
 %ifnarch %{ix86} alpha ppc s390 s390x x86_64 ppc64 ppc64le sparc sparcv9 sparc64 %{arm} aarch64
 	--disable-werror					\
@@ -526,7 +526,7 @@ COMMON_GDB_CONFIGURE_FLAGS="\
 	--enable-werror						\
 %endif
 	--with-separate-debug-dir=/usr/lib/debug		\
-	--disable-sim						\
+	--disable-sim			                	\
 	--disable-rpath						\
 	--without-stage1-ldflags				\
 	--disable-libmcheck					\
@@ -1144,6 +1144,11 @@ fi
 %endif
 
 %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
 - Backport upstream patch "gdb: add set/show commands for managing debuginfod"
   (RHBZ 2024875, Aaron Merey).

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-28  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-28  0:00 [rpms/gdb] gdb-17.2-rebase-f44: Add -Wno-unused-function to --enable-gdb-build-warnings to prevent the build failure 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox