public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mame] rawhide: Drop NOWERROR=1
@ 2026-05-30 12:15 Julian Sikorski
0 siblings, 0 replies; only message in thread
From: Julian Sikorski @ 2026-05-30 12:15 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/mame
Branch : rawhide
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=rawhide
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 \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-30 12:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-30 12:15 [rpms/mame] rawhide: Drop NOWERROR=1 Julian Sikorski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox