From 9ab70ebbcd5ccfa6f5f6f97b50d59a55630ffad2 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sat, 7 Jan 2017 13:00:08 +0100 Subject: [PATCH] Build all unit tests static, for easier debugging - Add -static to LDFLAGS - Remove CFLAGS override, respect input from configure script Signed-off-by: Joachim Nilsson --- tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 83e7f76..b2b61dc 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -19,6 +19,6 @@ TESTS += tree check_PROGRAMS = $(TESTS) # Ignore warnings about unused result, in e.g. write() -CFLAGS = -W -Wall -Wextra -Wno-unused-result CPPFLAGS = -D_GNU_SOURCE LDADD = -L../ ../libite.la +LDFLAGS = -static