fix: -Os should be used during compilation phase in makefile

This commit is contained in:
Stephan Seitz 2022-02-05 23:10:22 +01:00
parent b1ef403322
commit 6c9b80d73c

View file

@ -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