public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Simone Tollardo <dev@tollsimy.net>
To: git-commits@fedoraproject.org
Subject: [rpms/ghdl] rawhide: Fix gcc-15/C23 type-generic strchr const-discard warning in libgomp
Date: Tue, 11 Aug 2026 06:46:37 GMT	[thread overview]
Message-ID: <178643079776.1.4103791507650357467.rpms-ghdl-e1967fadd08b@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ghdl
            Branch : rawhide
            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=rawhide

            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

                 reply	other threads:[~2026-08-11  6:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178643079776.1.4103791507650357467.rpms-ghdl-e1967fadd08b@fedoraproject.org \
    --to=dev@tollsimy.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox