summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-02-09 00:06:02 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-02-09 21:34:14 +0100
commitb9c6f3ed454c562707048988e6462d0389dd7852 (patch)
tree9957042c7e9c3f27e93ab7da67a21f83f622787b /scripts
parentOnly allow yaml at start of file (diff)
downloadnvim-treesitter-b9c6f3ed454c562707048988e6462d0389dd7852.tar
nvim-treesitter-b9c6f3ed454c562707048988e6462d0389dd7852.tar.gz
nvim-treesitter-b9c6f3ed454c562707048988e6462d0389dd7852.tar.bz2
nvim-treesitter-b9c6f3ed454c562707048988e6462d0389dd7852.tar.lz
nvim-treesitter-b9c6f3ed454c562707048988e6462d0389dd7852.tar.xz
nvim-treesitter-b9c6f3ed454c562707048988e6462d0389dd7852.tar.zst
nvim-treesitter-b9c6f3ed454c562707048988e6462d0389dd7852.zip
fix(makefile): add forgotten CXX_STANDARD again
Diffstat (limited to 'scripts')
-rw-r--r--scripts/compile_parsers.makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/compile_parsers.makefile b/scripts/compile_parsers.makefile
index 1ad3458ea..020b45285 100644
--- a/scripts/compile_parsers.makefile
+++ b/scripts/compile_parsers.makefile
@@ -1,5 +1,6 @@
CFLAGS ?= -Os -std=c99 -fPIC
-CXXFLAGS ?= -Os -std=c++14 -fPIC
+CXX_STANDARD ?= c++14
+CXXFLAGS ?= -Os -std=$(CXX_STANDARD) -fPIC
LDFLAGS ?=
SRC_DIR ?= ./src
DEST_DIR ?= ./dest