fix build in rawhide

This commit is contained in:
Tom Callaway 2014-04-25 11:34:29 -04:00
parent 9b89a726a3
commit d61083bdcf

6
R.spec
View File

@ -315,7 +315,11 @@ case "%{_target_cpu}" in
;;
esac
export FCFLAGS="%{optflags}"
# With gcc 4.9, if we don't pass -ffat-lto-objects along with -flto, Matrix builds without the needed object code
# ... and doesn't work at all as a result.
export CFLAGS="%{optflags} -ffat-lto-objects"
export CXXFLAGS="%{optflags} -ffat-lto-objects"
export FCFLAGS="%{optflags} -ffat-lto-objects"
( %configure \
%if %{system_tre}
--with-system-tre \