RISCOS: Fix internal compiler error in VFP build

This commit is contained in:
Le Philousophe 2021-02-27 19:41:56 +01:00
parent 7aee945999
commit 3b26e0c4f2

2
configure vendored
View File

@ -3262,6 +3262,8 @@ if test -n "$_host"; then
arm-linux|arm*-linux-gnueabi|arm-*-linux)
;;
arm-vfp-riscos)
# -O2 causes internal compiler error on VFP only with gcc 4.7
_optimization_level=-O1
append_var LDFLAGS "-L$GCCSDK_INSTALL_ENV/vfp/lib"
append_var CXXFLAGS "-isystem $GCCSDK_INSTALL_ENV/vfp/include"
_sdlpath=$GCCSDK_INSTALL_ENV/vfp/bin