mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
fix: -Os should be used during compilation phase in makefile
This commit is contained in:
parent
b1ef403322
commit
6c9b80d73c
1 changed files with 4 additions and 3 deletions
|
|
@ -2,9 +2,10 @@
|
||||||
# compile_parsers.makefile
|
# compile_parsers.makefile
|
||||||
#
|
#
|
||||||
|
|
||||||
CFLAGS ?= -std=c99 -fPIC
|
CXX_STANDARD ?= c++14
|
||||||
CXXFLAGS ?= -std=c++14 -fPIC
|
CFLAGS ?= -Os -std=c99 -fPIC
|
||||||
LDFLAGS ?= -Os -shared
|
CXXFLAGS ?= -Os -std=$(CXX_STANDARD) -fPIC
|
||||||
|
LDFLAGS ?= -shared
|
||||||
SRC_DIR ?= ./src
|
SRC_DIR ?= ./src
|
||||||
DEST_DIR ?= ./dest
|
DEST_DIR ?= ./dest
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue