public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Julian Sikorski <belegdol@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/mame] f44: Drop NOWERROR=1
Date: Sat, 30 May 2026 12:17:44 GMT	[thread overview]
Message-ID: <178014346413.1.6892293793891149083.rpms-mame-79208d40efe5@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/mame
            Branch : f44
            Commit : 79208d40efe57958d8bcc1ab3cbadc758c84fdee
            Author : Julian Sikorski <belegdol@fedoraproject.org>
            Date   : 2026-05-30T14:15:30+02:00
            Stats  : +3/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/mame/c/79208d40efe57958d8bcc1ab3cbadc758c84fdee?branch=f44

            Log:
            Drop NOWERROR=1

On primary architectures it is not necessary. On riscv64 the warnings can be handled with a more targeted approach.

---
diff --git a/mame.spec b/mame.spec
index 49f0b5d..f8ef77c 100644
--- a/mame.spec
+++ b/mame.spec
@@ -244,8 +244,10 @@ RPM_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | sed "s@-g@-g1@")
 #https://pagure.io/packaging-committee/issue/1075
 RPM_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | sed "s@ -Wp,-D_GLIBCXX_ASSERTIONS@@")
 
-# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91420
 %ifarch riscv64
+# https://github.com/mamedev/mame/pull/14664
+RPM_OPT_FLAGS+=" -Wno-error=cast-align"
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91420
 RPM_LD_FLAGS+=" -fuse-ld=mold"
 %endif
 
@@ -258,7 +260,6 @@ RPM_LD_FLAGS+=" -fuse-ld=mold"
 %if %{with debug}
     DEBUG=1 \
 %endif
-    NOWERROR=1 \
     OPTIMIZE=2 \
     OSD=sdl3 \
     VERBOSE=1 \

                 reply	other threads:[~2026-05-30 12:17 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=178014346413.1.6892293793891149083.rpms-mame-79208d40efe5@fedoraproject.org \
    --to=belegdol@fedoraproject.org \
    --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