mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-31 05:31:52 +00:00
Specify -std=c++20 not c++2a (#1877)
This commit is contained in:
4
Makefile
4
Makefile
@@ -31,7 +31,7 @@ WARNFLAGS := -Wall -pedantic -Wno-unknown-warning-option -Wno-gnu-zero-variadic-
|
|||||||
# Overridable CXXFLAGS
|
# Overridable CXXFLAGS
|
||||||
CXXFLAGS ?= -O3 -flto -DNDEBUG
|
CXXFLAGS ?= -O3 -flto -DNDEBUG
|
||||||
# Non-overridable CXXFLAGS
|
# Non-overridable CXXFLAGS
|
||||||
REALCXXFLAGS := ${CXXFLAGS} ${WARNFLAGS} -std=c++2a -I include -fno-exceptions -fno-rtti
|
REALCXXFLAGS := ${CXXFLAGS} ${WARNFLAGS} -std=c++20 -I include -fno-exceptions -fno-rtti
|
||||||
# Overridable LDFLAGS
|
# Overridable LDFLAGS
|
||||||
LDFLAGS ?=
|
LDFLAGS ?=
|
||||||
# Non-overridable LDFLAGS
|
# Non-overridable LDFLAGS
|
||||||
@@ -254,7 +254,7 @@ tidy: src/asm/parser.hpp src/link/script.hpp
|
|||||||
iwyu:
|
iwyu:
|
||||||
$Qenv ${MAKE} \
|
$Qenv ${MAKE} \
|
||||||
CXX="include-what-you-use" \
|
CXX="include-what-you-use" \
|
||||||
REALCXXFLAGS="-std=c++2a -I include"
|
REALCXXFLAGS="-std=c++20 -I include"
|
||||||
|
|
||||||
# Targets for the project maintainer to easily create Windows exes.
|
# Targets for the project maintainer to easily create Windows exes.
|
||||||
# This is not for Windows users!
|
# This is not for Windows users!
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-std=c++2a
|
-std=c++20
|
||||||
-I
|
-I
|
||||||
include
|
include
|
||||||
-fno-exceptions
|
-fno-exceptions
|
||||||
|
|||||||
Reference in New Issue
Block a user