diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-02-05 23:10:22 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-02-08 23:37:59 +0100 |
| commit | 6c9b80d73ca13cd202e1817fb708d36fd4049011 (patch) | |
| tree | 9b615422a3e5716fdb9ad0378d3f75f971477966 /scripts | |
| parent | Update lockfile.json (diff) | |
| download | nvim-treesitter-6c9b80d73ca13cd202e1817fb708d36fd4049011.tar nvim-treesitter-6c9b80d73ca13cd202e1817fb708d36fd4049011.tar.gz nvim-treesitter-6c9b80d73ca13cd202e1817fb708d36fd4049011.tar.bz2 nvim-treesitter-6c9b80d73ca13cd202e1817fb708d36fd4049011.tar.lz nvim-treesitter-6c9b80d73ca13cd202e1817fb708d36fd4049011.tar.xz nvim-treesitter-6c9b80d73ca13cd202e1817fb708d36fd4049011.tar.zst nvim-treesitter-6c9b80d73ca13cd202e1817fb708d36fd4049011.zip | |
fix: -Os should be used during compilation phase in makefile
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/compile_parsers.makefile | 7 |
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 |
