public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/iw] rawhide: rely on automatic %set_build_flags for CFLAGS, LDFLAGS
@ 2026-07-31  6:13 Michal Schmidt
  0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-07-31  6:13 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/iw
            Branch : rawhide
            Commit : f2646c5009b645ed64cf79af1bd4e4b2c7a2649c
            Author : Michal Schmidt <mschmidt@redhat.com>
            Date   : 2026-07-30T15:14:35+02:00
            Stats  : +0/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/iw/c/f2646c5009b645ed64cf79af1bd4e4b2c7a2649c?branch=rawhide

            Log:
            rely on automatic %set_build_flags for CFLAGS, LDFLAGS

Since Fedora 36, CFLAGS and LDFLAGS are automatically set and exported
to the environment in the %build stage:
https://fedoraproject.org/wiki/Changes/SetBuildFlagsBuildCheck

[skip changelog]

---
diff --git a/iw.spec b/iw.spec
index 026f0f4..7e75137 100644
--- a/iw.spec
+++ b/iw.spec
@@ -26,7 +26,6 @@ only because most new wireless devices being sold are now SoftMAC.
 
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
 %{make_build}
 
 

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

only message in thread, other threads:[~2026-07-31  6:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-31  6:13 [rpms/iw] rawhide: rely on automatic %set_build_flags for CFLAGS, LDFLAGS Michal Schmidt

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