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 | b1ef4033222fa86cbe5c6a0abf70098f157546d4 (diff) | |
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 8b5b31a2..5c3848a4 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 |
