diff options
author | Eric Callahan <arksine.code@gmail.com> | 2022-06-07 11:54:54 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2022-06-08 12:17:12 -0400 |
commit | b0da191bee873d51590664e261a767a06391df13 (patch) | |
tree | 46675aeb684dc6f5b9e3bd8122141a627e50aaa8 /Makefile | |
parent | ada571ecb8528e57003e1f878e224ab230920b33 (diff) | |
download | kutter-b0da191bee873d51590664e261a767a06391df13.tar.gz kutter-b0da191bee873d51590664e261a767a06391df13.tar.xz kutter-b0da191bee873d51590664e261a767a06391df13.zip |
makefile: disable null pointer checks
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ cc-option=$(shell if test -z "`$(1) $(2) -S -o /dev/null -xc /dev/null 2>&1`" \ CFLAGS := -I$(OUT) -Isrc -I$(OUT)board-generic/ -std=gnu11 -O2 -MD \ -Wall -Wold-style-definition $(call cc-option,$(CC),-Wtype-limits,) \ - -ffunction-sections -fdata-sections + -ffunction-sections -fdata-sections -fno-delete-null-pointer-checks CFLAGS += -flto -fwhole-program -fno-use-linker-plugin -ggdb3 OBJS_klipper.elf = $(patsubst %.c, $(OUT)src/%.o,$(src-y)) |