From 7a98f80d9b61ce167e4ef8129c81ed9284ecf4e1 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Tue, 7 Aug 2012 16:43:49 +0200 Subject: [PATCH] Clear CFLAGS CXXFLAGS LDFLAGS. This is a bit of a hammer, but without this the regtests results are just horrible with hundreds of failures. Even with this there are 29 failures. Once we fix those and have a clean testsuite we should reinstate the FLAGS and figure out exactly which ones cause the massive fails. --- valgrind.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/valgrind.spec b/valgrind.spec index 75882c6..f84b631 100644 --- a/valgrind.spec +++ b/valgrind.spec @@ -143,8 +143,7 @@ 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 / /g;s/^ //;s/ $//'`" \ - CXXFLAGS="`echo " %{optflags} " | sed 's/ -m\(64\|3[21]\) / /g;s/ -fexceptions / /g;s/^ //;s/ $//'`" \ + CFLAGS="" CXXFLAGS="" LDFLAGS="" \ %ifarch %{ix86} x86_64 ppc ppc64 --with-mpicc=%{_libdir}/openmpi/bin/mpicc \ %endif