From f89c3c88de77eff15f317eb07a1e33d994bd806d Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Fri, 30 Jun 2017 17:43:11 +0200 Subject: [PATCH] Clear build warnings for unit tests Signed-off-by: Joachim Nilsson --- tests/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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