Consistently use -std=c++2a, not -std=c++20

Commit 63a911e657 switched
to `-std=c++20` since at the time we required GCC 10 or higher.

Commit d5ce5329ea partially reverted
to `-std=c++2a` since we once again support GCC 9, which did not
yet handle `std=c++20`.
This commit is contained in:
Rangi
2026-05-20 17:09:23 -04:00
parent 0ed8c2f8ee
commit 728d14879b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ tidy: src/asm/parser.hpp src/link/script.hpp
iwyu:
$Qenv ${MAKE} \
CXX="include-what-you-use" \
REALCXXFLAGS="-std=c++20 -I include"
REALCXXFLAGS="-std=c++2a -I include"
# Target used in development to conveniently invoke RGBDS binaries with Wine.
wine-shim:
+1 -1
View File
@@ -1,4 +1,4 @@
-std=c++20
-std=c++2a
-I
include
-fno-exceptions