summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-08-27 13:33:57 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2019-08-27 13:33:57 -0400
commit8b02f791c34eae771442c59a863730c99ac5e1d4 (patch)
treee1908cb221443a93db68e779212d283c54e28b07
parent72a408f84846fe702b8db4f158b678ee20bbf835 (diff)
Build with -fno-delete-null-pointer-checks
Some of the code we use from the Linux kernel won't build correctly without this...
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
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 \