Skip to content

Commit

Permalink
Force C++ 11 when building gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter committed Dec 12, 2024
1 parent ace88fd commit 1df7efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/005-gcc-stage2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ mkdir build-$TARGET-stage2
cd build-$TARGET-stage2

## Configure the build.
export CXXFLAGS="-std=c++11"
../configure \
--quiet \
--prefix="$PSPDEV" \
Expand All @@ -69,7 +70,6 @@ cd build-$TARGET-stage2
--disable-multilib \
--enable-threads=posix \
--disable-tls \
-std=c++14 \
$TARG_XTRA_OPTS

## Compile and install.
Expand Down

0 comments on commit 1df7efe

Please sign in to comment.