[valgrind] 3.8.0-1

Jakub Jelinek jakub at fedoraproject.org
Fri Aug 10 08:58:14 UTC 2012


commit 1a2316dc701e9cb2fc49e0908a65d5fa260bd264
Author: Jakub Jelinek <jakub at redhat.com>
Date:   Fri Aug 10 10:58:07 2012 +0200

    3.8.0-1

 valgrind.spec |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/valgrind.spec b/valgrind.spec
index a828dd1..22ee582 100644
--- a/valgrind.spec
+++ b/valgrind.spec
@@ -117,9 +117,8 @@ ar r libgcc/32/libgcc_s.a
 ar r libgcc/libgcc_s_32.a
 CC="gcc -B `pwd`/libgcc/"
 %endif
-%configure CC="$CC" \
-  CFLAGS="`echo " %{optflags} " | sed 's/ -m\(64\|3[21]\) / /g;s/ \(-fexceptions\|-fstack-protector\|-Wp,-D_FORTIFY_SOURCE=2\) / /g;s/^ //;s/ $//'`" \
-  CXXFLAGS="`echo " %{optflags} " | sed 's/ -m\(64\|3[21]\) / /g;s/ \(-fexceptions\|-fstack-protector\|-Wp,-D_FORTIFY_SOURCE=2\) / /g;s/^ //;s/ $//'`" \
+OPTFLAGS="`echo " %{optflags} " | sed 's/ -m\(64\|3[21]\) / /g;s/ -fexceptions / /g;s/ -fstack-protector / / g;s/ -Wp,-D_FORTIFY_SOURCE=2 / /g;s/^ //;s/ $//'`"
+%configure CC="$CC" CFLAGS="$OPTFLAGS" CXXFLAGS="$OPTFLAGS" \
 %ifarch %{ix86} x86_64 ppc ppc64
   --with-mpicc=%{_libdir}/openmpi/bin/mpicc \
 %endif


More information about the scm-commits mailing list