| |
@@ -9,10 +9,12 @@
|
| |
CFLAGS+=-Wall -Werror -I../src -g -O2
|
| |
#-lpthread -lrt
|
| |
|
| |
+ ifeq ($(CC),gcc)
|
| |
# 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
|
| |
+ endif
|
| |
|
| |
# Change this on the build line to run tests against the installed libraries:
|
| |
# make LIBAIO=-laio partcheck
|
| |
There is a build error if compiler is clang:
Signed-off-by: Chenxi Mao chenxi.mao@suse.com