]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
Build with -Wno-zero_length_bounds
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 16 Oct 2020 02:54:22 +0000 (22:54 -0400)
committerKent Overstreet <kent.overstreet@gmail.com>
Fri, 16 Oct 2020 02:54:22 +0000 (22:54 -0400)
Copying the linux kernel build settings

Makefile

index c91a06aad64d18ccc0ecf5ccb7fa8b3a2a3b1a1b..cc00ac6eb931110fcebc6992dadf1d3553199815 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ INSTALL=install
 PYTEST=pytest-3
 CFLAGS+=-std=gnu89 -O2 -g -MMD -Wall                           \
        -Wno-pointer-sign                                       \
+       -Wno-zero-length-bounds                                 \
        -fno-strict-aliasing                                    \
        -fno-delete-null-pointer-checks                         \
        -I. -Iinclude -Iraid                                    \