build(exmaple): set -std to c++14 since required for switch in constexpr

This commit is contained in:
Eisuke Kawashima 2025-06-07 03:18:36 +09:00
parent 520d8ee390
commit 289bf1c964
No known key found for this signature in database
GPG Key ID: AE0456361ACA5F4B

View File

@ -3,7 +3,7 @@ CXX := c++
endif
ifndef CXXFLAGS
CXXFLAGS := -std=c++11 -Wall -I .. -I../extra -o
CXXFLAGS := -std=c++14 -Wall -I .. -I../extra -o
endif
SOURCES := $(wildcard *.cc)