aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/compile_parsers.makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/compile_parsers.makefile b/scripts/compile_parsers.makefile
index 8b5b31a29..5c3848a45 100644
--- a/scripts/compile_parsers.makefile
+++ b/scripts/compile_parsers.makefile
@@ -2,9 +2,10 @@
# compile_parsers.makefile
#
-CFLAGS ?= -std=c99 -fPIC
-CXXFLAGS ?= -std=c++14 -fPIC
-LDFLAGS ?= -Os -shared
+CXX_STANDARD ?= c++14
+CFLAGS ?= -Os -std=c99 -fPIC
+CXXFLAGS ?= -Os -std=$(CXX_STANDARD) -fPIC
+LDFLAGS ?= -shared
SRC_DIR ?= ./src
DEST_DIR ?= ./dest