diff --git a/scripts/005-gcc-stage2.sh b/scripts/005-gcc-stage2.sh index bcf9253..7641f0b 100755 --- a/scripts/005-gcc-stage2.sh +++ b/scripts/005-gcc-stage2.sh @@ -56,6 +56,7 @@ mkdir build-$TARGET-stage2 cd build-$TARGET-stage2 ## Configure the build. +export CXXFLAGS="-std=c++11" ../configure \ --quiet \ --prefix="$PSPDEV" \ @@ -69,7 +70,6 @@ cd build-$TARGET-stage2 --disable-multilib \ --enable-threads=posix \ --disable-tls \ - -std=c++14 \ $TARG_XTRA_OPTS ## Compile and install.