Petr Gajdos 2019-05-16 12:26:29 +00:00 committed by Git OBS Bridge
parent 3590771b8d
commit c118ab6195

View File

@ -34,13 +34,13 @@ Source2: baselibs.conf
Source3: prepare-src-tarball.sh
# SUSE specific
Patch0: %{name}-make.patch
# neccessary for running with ASAN
Patch1: %{name}-asan.patch
Patch3: %{name}-tmpfile.patch
Patch4: %{name}-security-code.patch
Patch5: %{name}-security-scripts.patch
Patch6: %{name}-gcc-warnings.patch
Patch7: makeman-py3.patch
# neccessary for running with ASAN
Patch100: %{name}-asan.patch
BuildRequires: flex
BuildRequires: libjasper-devel
BuildRequires: libjpeg-devel
@ -112,7 +112,7 @@ export CFLAGS="$CFLAGS -O0"
%endif
%if %{asan_build}
export CFLAGS="$CFLAGS -fsanitize=address"
patch -p1 < %{PATCH100}
patch -p1 < %{PATCH1}
%endif
make %{?_smp_mflags} CFLAGS="$CFLAGS"
rm doc/INSTALL