From d2c64c16e6712fe022d9013c5b602754a372338d Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sat, 21 Nov 2020 22:31:10 +0100 Subject: [PATCH] Fix build for custom make targets --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index aa044e82..07b7b168 100644 --- a/Makefile.am +++ b/Makefile.am @@ -271,13 +271,13 @@ target: echo $(htop_SOURCES) profile: - $(MAKE) all CFLAGS="-pg" AM_CPPFLAGS="-pg -O2 -DNDEBUG" + $(MAKE) all AM_CPPFLAGS="-pg -O2 -DNDEBUG" debug: - $(MAKE) all CFLAGS="" AM_CPPFLAGS="-ggdb -DDEBUG" + $(MAKE) all AM_CPPFLAGS="-ggdb -DDEBUG" coverage: - $(MAKE) all CFLAGS="" AM_CPPFLAGS="-fprofile-arcs -ftest-coverage -DDEBUG" LDFLAGS="-lgcov" + $(MAKE) all AM_CPPFLAGS="-fprofile-arcs -ftest-coverage -DDEBUG" AM_LDFLAGS="-lgcov" cppcheck: cppcheck -q -v . --enable=all -DHAVE_CGROUP -DHAVE_OPENVZ -DHAVE_TASKSTATS