public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Build with -fsanitize=address
@ 2026-11-23  9:32 Igor Gnatenko
  0 siblings, 0 replies; only message in thread
From: Igor Gnatenko @ 2026-11-23  9:32 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rpm
            Branch : pmatilai-v6
            Commit : 472245e6613dde028ce7b256216de1c6c69e9ab5
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2019-06-10T19:08:57+02:00
            Stats  : +4/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpm/c/472245e6613dde028ce7b256216de1c6c69e9ab5?branch=pmatilai-v6

            Log:
            Build with -fsanitize=address

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>

---
diff --git a/rpm.spec b/rpm.spec
index ae123f9..97a88e8 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -21,7 +21,7 @@
 
 %global rpmver 4.14.90
 %global snapver git14653
-%global rel 1
+%global rel 2
 
 %global srcver %{version}%{?snapver:-%{snapver}}
 %global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
@@ -69,6 +69,8 @@ Requires: %{_bindir}/db_stat
 Requires: popt%{_isa} >= 1.10.2.1
 Requires: curl
 
+BuildRequires: libasan
+
 %if %{without int_bdb}
 BuildRequires: libdb-devel
 %endif
@@ -312,6 +314,7 @@ ln -s db-%{bdbver} db
 
 %build
 %set_build_flags
+export CFLAGS="$CFLAGS -fsanitize=address"
 
 autoreconf -i -f
 

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

only message in thread, other threads:[~2026-11-23  9:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:32 [rpms/rpm] pmatilai-v6: Build with -fsanitize=address Igor Gnatenko

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