summaryrefslogtreecommitdiff
path: root/harness/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'harness/Makefile')
-rw-r--r--harness/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/harness/Makefile b/harness/Makefile
index 5cc2b25..4f225d3 100644
--- a/harness/Makefile
+++ b/harness/Makefile
@@ -9,6 +9,11 @@ HARNESS_SRCS:=main.c
CFLAGS+=-Wall -Werror -I../src -g -O2
#-lpthread -lrt
+# gcc-11 does not like the test case in 3.t that
+# passes an invalid pointer (-1) to the kernel, so
+# tell the compiler we do not need a warning here
+cases/3.p: CFLAGS+=-Wno-stringop-overflow
+
# Change this on the build line to run tests against the installed libraries:
# make LIBAIO=-laio partcheck
LIBAIO?=../src/libaio.a