From 272464fac03859636383f1d9eeafe8af56470ab1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 5 Aug 2016 14:13:22 +0200 Subject: Fix bugs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 87e7ff9..21afbc7 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,9 @@ CPP_linux-libre = $(CPP_linux) CCFLAGS = -std=c99 $(WARN) $(FFLAGS) $(OPTIMISE) LDFLAGS = $(OPTIMISE) -lgamma CPPFLAGS = -D'PKGNAME="$(PKGNAME)"' -D'COMMAND="$(COMMAND)"' -D_XOPEN_SOURCE=700 $(CPP_$(KERNEL)) +ifdef USE_VALGRIND +CPPFLAGS += -DUSE_VALGRIND +endif .PHONY: all -- cgit v1.2.3-70-g09d2