[rpm] - build with -fsanitize=undefined and -fsanitize=address for now
Panu Matilainen
pmatilai at fedoraproject.org
Fri Apr 11 07:01:40 UTC 2014
commit 388fec1a2d2a99bbbe8af53bc680e6356a46d1fb
Author: Panu Matilainen <pmatilai at redhat.com>
Date: Fri Apr 11 10:01:17 2014 +0300
- build with -fsanitize=undefined and -fsanitize=address for now
rpm.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/rpm.spec b/rpm.spec
index 14bdb07..df39468 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -22,7 +22,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}5%{?dist}
+Release: %{?snapver:0.%{snapver}.}6%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/rpm-4.11.x/%{name}-%{srcver}.tar.bz2
@@ -296,7 +296,7 @@ ln -s db-%{bdbver} db
#LDFLAGS=-L%{_libdir}/db%{bdbver}
%endif
CPPFLAGS="$CPPFLAGS `pkg-config --cflags nss`"
-CFLAGS="$RPM_OPT_FLAGS"
+CFLAGS="$RPM_OPT_FLAGS -fsanitize=address -fsanitize=undefined"
export CPPFLAGS CFLAGS LDFLAGS
autoreconf -i -f
@@ -527,6 +527,9 @@ exit 0
%doc COPYING doc/librpm/html/*
%changelog
+* Fri Apr 11 2014 Panu Matilainen <pmatilai at redhat.com> - 4.11.2-6
+- build with -fsanitize=undefined and -fsanitize=address for now
+
* Tue Apr 08 2014 Panu Matilainen <pmatilai at redhat.com> - 4.11.2-5
- replace unmaintained dependency generator scripts with rpmdeps wrappers
More information about the scm-commits
mailing list