aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorrbuchner <ryan.buchner@arilinc.com>2023-10-12 10:39:16 -0700
committerrbuchner <ryan.buchner@arilinc.com>2024-01-24 16:33:32 -0800
commitf970cc3f5215bd63790508c15d70ccf7b40b0c1a (patch)
tree572bb5640a1dd7a6434aff1a14064ea4e47c3c50 /Makefile.in
parent7c890632ec91104fe6ccd9f16f70842c4412a1fd (diff)
downloadspike-f970cc3f5215bd63790508c15d70ccf7b40b0c1a.zip
spike-f970cc3f5215bd63790508c15d70ccf7b40b0c1a.tar.gz
spike-f970cc3f5215bd63790508c15d70ccf7b40b0c1a.tar.bz2
Compile with C++2a
Will allow access to designated initializers.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index f236576..dc70893 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -94,7 +94,7 @@ VPATH := $(addprefix $(src_dir)/, $(sprojs_enabled))
# highest.
default-CFLAGS := -DPREFIX=\"$(prefix)\" -Wall -Wno-unused -Wno-nonportable-include-path -g -O2 -fPIC
-default-CXXFLAGS := $(default-CFLAGS) -std=c++17
+default-CXXFLAGS := $(default-CFLAGS) -std=c++2a
mcppbs-CPPFLAGS := @CPPFLAGS@
mcppbs-CFLAGS := $(default-CFLAGS) @CFLAGS@