aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cdf10eb..db0e8ab 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,8 @@ RUNS = $(TEST:%=run/%)
DEPS_GEN = -MMD
SANITIZER = -fsanitize=address -fsanitize=undefined -fsanitize=leak -fno-omit-frame-pointer
-CXXFLAGS = -Og -g -Wall -Wextra -Werror -I. -std=c++14 $(DEPS_GEN) $(SANITIZER)
+STD ?= 14
+CXXFLAGS = -Og -g -Wall -Wextra -Werror -I. -std=c++$(STD) $(DEPS_GEN) $(SANITIZER)
LDFLAGS = $(SANITIZER)
# -- RULES ---------------------------------------------------------------------