Build with -fsanitize=address
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
055ecdaa97
commit
472245e661
5
rpm.spec
5
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue