try building with -fno-var-tracking-assignments

This commit is contained in:
Rex Dieter 2009-09-10 15:37:00 +00:00
parent 838fb663b7
commit e942ab7c04
1 changed files with 4 additions and 0 deletions

View File

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