public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ghdl] f44: Fix gcc-15/C23 type-generic strchr const-discard warning in libgomp
@ 2026-08-11 7:37 Simone Tollardo
0 siblings, 0 replies; only message in thread
From: Simone Tollardo @ 2026-08-11 7:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ghdl
Branch : f44
Commit : e1967fadd08bba077e8f386db29c39a39cf549aa
Author : Simone Tollardo <dev@tollsimy.net>
Date : 2026-07-26T11:59:09+02:00
Stats : +3/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ghdl/c/e1967fadd08bba077e8f386db29c39a39cf549aa?branch=f44
Log:
Fix gcc-15/C23 type-generic strchr const-discard warning in libgomp
- Fixes: rhbz#2503918
Signed-off-by: Simone Tollardo <dev@tollsimy.net>
---
diff --git a/ghdl.spec b/ghdl.spec
index 051f8e8..dfe7a21 100644
--- a/ghdl.spec
+++ b/ghdl.spec
@@ -293,6 +293,9 @@ OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g;s/-m32//g;s/-m31//g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mfpmath=sse/-mfpmath=sse -msse2/g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/ -pipe / /g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-Werror=format-security/-Wformat-security/g'`
+# Fix GCC 15/C23 type-generic strchr const-discard warning in libgomp
+OPT_FLAGS=`echo $OPT_FLAGS | sed -e 's/-Werror=discarded-qualifiers//g'`
+OPT_FLAGS="$OPT_FLAGS -Wno-error=discarded-qualifiers"
%ifarch %{ix86}
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-march=i.86//g'`
%endif
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-11 7:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 7:37 [rpms/ghdl] f44: Fix gcc-15/C23 type-generic strchr const-discard warning in libgomp Simone Tollardo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox