diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2019-02-25 09:14:51 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2019-02-25 09:14:51 +0200 |
commit | 51198be4ea5dbe3b4dd3eb956cc8d8edba20c06e (patch) | |
tree | ca44e793ec19f4e7e5164f2a5370bf667ebb2904 /Makefile | |
parent | 995841ab4dd7676151e5a74c735926e68b937971 (diff) |
make: -D_FORTIYF_SOURCE=2 by default
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -7,8 +7,9 @@ MAKEFLAGS += --no-builtin-rules WARNINGS := -Wall -Wextra -Wpedantic -Wformat=2 -Wstrict-aliasing=3 -Wstrict-overflow=3 -Wstack-usage=12500 \ -Wfloat-equal -Wcast-align -Wpointer-arith -Wchar-subscripts -Warray-bounds=2 -override CFLAGS ?= -g -override CFLAGS += -std=c11 $(WARNINGS) +override CFLAGS ?= -g -O2 $(WARNINGS) +override CFLAGS += -std=c11 +override CPPFLAGS ?= -D_FORTIFY_SOURCE=2 override CPPFLAGS += -Isrc bins = escpos2raster starpbm |