From b36bf0f3611f7845c08b1c553a57e6a6e400e75a Mon Sep 17 00:00:00 2001 From: Ronny Chevalier Date: Sat, 8 Nov 2014 21:11:19 +0100 Subject: [PATCH] build-sys: avoid duplication of macro definition TEST_DIR is already defined in AM_CFLAGS --- Makefile.am | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 698a7b0f3..ca8e339b5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1765,8 +1765,7 @@ test_cgroup_mask_SOURCES = \ src/test/test-cgroup-mask.c test_cgroup_mask_CPPFLAGS = \ - $(AM_CPPFLAGS) \ - -DTEST_DIR=\"$(abs_top_srcdir)/test\" + $(AM_CPPFLAGS) test_cgroup_mask_CFLAGS = \ $(AM_CFLAGS) \ @@ -1844,8 +1843,7 @@ test_sched_prio_SOURCES = \ src/test/test-sched-prio.c test_sched_prio_CPPFLAGS = \ - $(AM_CPPFLAGS) \ - -DTEST_DIR=\"$(abs_top_srcdir)/test\" + $(AM_CPPFLAGS) test_sched_prio_CFLAGS = \ $(AM_CFLAGS) \ -- 2.30.2