From f2b1ddb50a46e7c02e7f7b8ff867b76af829fcde Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 11 Apr 2014 11:03:17 +0300 Subject: [PATCH] - gcc barfs on -fsanitize=undefined, hmm... --- rpm.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpm.spec b/rpm.spec index df39468..5cb58b2 100644 --- a/rpm.spec +++ b/rpm.spec @@ -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 -fsanitize=address -fsanitize=undefined" +CFLAGS="$RPM_OPT_FLAGS -fsanitize=address" export CPPFLAGS CFLAGS LDFLAGS autoreconf -i -f @@ -528,7 +528,7 @@ exit 0 %changelog * Fri Apr 11 2014 Panu Matilainen - 4.11.2-6 -- build with -fsanitize=undefined and -fsanitize=address for now +- build with -fsanitize=address for now * Tue Apr 08 2014 Panu Matilainen - 4.11.2-5 - replace unmaintained dependency generator scripts with rpmdeps wrappers