Build with -Wno-zero_length_bounds

Copying the linux kernel build settings
This commit is contained in:
Kent Overstreet 2020-10-15 22:54:22 -04:00
parent 7df1badafb
commit eff87a4c44

View File

@ -5,6 +5,7 @@ INSTALL=install
PYTEST=pytest-3 PYTEST=pytest-3
CFLAGS+=-std=gnu89 -O2 -g -MMD -Wall \ CFLAGS+=-std=gnu89 -O2 -g -MMD -Wall \
-Wno-pointer-sign \ -Wno-pointer-sign \
-Wno-zero-length-bounds \
-fno-strict-aliasing \ -fno-strict-aliasing \
-fno-delete-null-pointer-checks \ -fno-delete-null-pointer-checks \
-I. -Iinclude -Iraid \ -I. -Iinclude -Iraid \