public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/harmonyseq] rawhide: Export CFLAGS/CXXFLAGS after adjusting them
@ 2026-08-18  7:14 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-18  7:14 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/harmonyseq
            Branch : rawhide
            Commit : 07d348bd12eea4be01b771b47d341ede67083548
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-08-18T08:09:01+01:00
            Stats  : +2/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/harmonyseq/c/07d348bd12eea4be01b771b47d341ede67083548?branch=rawhide

            Log:
            Export CFLAGS/CXXFLAGS after adjusting them

The effect is no different, since `%cmake` uses the shell variables and
re-exports the environment variables based on them, but this *looked*
like an error, and this change removes that confusion.

---
diff --git a/harmonyseq.spec b/harmonyseq.spec
index 6e05b9e..4352d5e 100644
--- a/harmonyseq.spec
+++ b/harmonyseq.spec
@@ -94,8 +94,8 @@ https://harmonyseq.wordpress.com
 # -DCMAKE_BUILD_TYPE=Release, but this also asks to strip debugging symbols,
 # which we do not want. Setting -DCMAKE_BUILD_TYPE=RelWithDebInfo does not set
 # the preprocessor macro. Instead, we set it manually:
-CFLAGS="${CFLAGS} -DRELEASE"
-CXXFLAGS="${CXXFLAGS} -DRELEASE"
+export CFLAGS="${CFLAGS} -DRELEASE"
+export CXXFLAGS="${CXXFLAGS} -DRELEASE"
 
 
 %check

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

only message in thread, other threads:[~2026-08-18  7:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-18  7:14 [rpms/harmonyseq] rawhide: Export CFLAGS/CXXFLAGS after adjusting them Benjamin A. Beasley

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