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.
This commit is contained in:
Mark Wielaard 2012-08-07 16:43:49 +02:00
parent a1defe0a69
commit 7a98f80d9b

View File

@ -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