From 8b02f791c34eae771442c59a863730c99ac5e1d4 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Tue, 27 Aug 2019 13:33:57 -0400 Subject: [PATCH] Build with -fno-delete-null-pointer-checks Some of the code we use from the Linux kernel won't build correctly without this... --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 348608b5..c6daadc8 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ INSTALL=install CFLAGS+=-std=gnu89 -O2 -g -MMD -Wall \ -Wno-pointer-sign \ -fno-strict-aliasing \ + -fno-delete-null-pointer-checks \ -I. -Iinclude -Iraid \ -D_FILE_OFFSET_BITS=64 \ -D_GNU_SOURCE \