public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tinyproxy] epel10: Fix debug handling
@ 2026-06-18 21:53 Carl George
0 siblings, 0 replies; only message in thread
From: Carl George @ 2026-06-18 21:53 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/tinyproxy
Branch : epel10
Commit : 7d4e172d420de6b8ba3a786c2bb2a45f57e973a0
Author : Carl George <carlwgeorge@gmail.com>
Date : 2026-06-18T15:47:33-05:00
Stats : +4/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/tinyproxy/c/7d4e172d420de6b8ba3a786c2bb2a45f57e973a0?branch=epel10
Log:
Fix debug handling
Debug is off by default in the source code, but for some reason that
doesn't work on el8. We need some kind of override there, but turns out
_distro_extra_cflags wasn't added until f38/el10 so we can't use that.
Extending optflags in-place is the easiest approach.
---
diff --git a/tinyproxy.spec b/tinyproxy.spec
index 03e806d..9cfac95 100644
--- a/tinyproxy.spec
+++ b/tinyproxy.spec
@@ -1,5 +1,8 @@
# must be set to avoid noisy memory debug logging rhbz#1011783
-%global _distro_extra_cflags -DNDEBUG
+# normally set by default, but doesn't work correctly in el8
+%if %{defined el8}
+%global optflags %{optflags} -DNDEBUG
+%endif
Name: tinyproxy
Version: 1.11.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-18 21:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-18 21:53 [rpms/tinyproxy] epel10: Fix debug handling Carl George
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox