From e942ab7c0423ae03135479ef12933cfb43778953 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Sep 10 2009 15:37:00 +0000 Subject: try building with -fno-var-tracking-assignments --- diff --git a/qt.spec b/qt.spec index fc306d3..f3fe0dc 100644 --- a/qt.spec +++ b/qt.spec @@ -372,6 +372,10 @@ Qt libraries used for drawing widgets and OpenGL items. # drop -fexceptions from $RPM_OPT_FLAGS RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fexceptions||g'` +# hack around (hopefully temporary) gcc borkage +%if 0%{?fedora} > 11 +RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-var-tracking-assignments" +%endif %define platform linux-g++ %if "%{_qt4_datadir}" != "%{_qt4_prefix}" && "%{_lib}" == "lib64"