diff --git a/tests/Makefile.am b/tests/Makefile.am index 66ed8b6..4e6d6f3 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -20,6 +20,7 @@ TESTS += tree check_PROGRAMS = $(TESTS) # Ignore warnings about unused result, in e.g. write() -CPPFLAGS = -D_GNU_SOURCE +CFLAGS += -Wno-unused-result +CPPFLAGS += -D_GNU_SOURCE LDADD = -L../ ../libite.la -LDFLAGS = -static +LDFLAGS += -static