From 6c9b80d73ca13cd202e1817fb708d36fd4049011 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Sat, 5 Feb 2022 23:10:22 +0100 Subject: fix: -Os should be used during compilation phase in makefile --- scripts/compile_parsers.makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3-70-g09d2