chiark / gitweb /
build-sys: avoid duplication of macro definition
authorRonny Chevalier <chevalier.ronny@gmail.com>
Sat, 8 Nov 2014 20:11:19 +0000 (21:11 +0100)
committerRonny Chevalier <chevalier.ronny@gmail.com>
Sat, 8 Nov 2014 21:48:17 +0000 (22:48 +0100)
TEST_DIR is already defined in AM_CFLAGS

Makefile.am

index 698a7b0..ca8e339 100644 (file)
@@ -1765,8 +1765,7 @@ test_cgroup_mask_SOURCES = \
        src/test/test-cgroup-mask.c
 
 test_cgroup_mask_CPPFLAGS = \
        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) \
 
 test_cgroup_mask_CFLAGS = \
        $(AM_CFLAGS) \
@@ -1844,8 +1843,7 @@ test_sched_prio_SOURCES = \
        src/test/test-sched-prio.c
 
 test_sched_prio_CPPFLAGS = \
        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) \
 
 test_sched_prio_CFLAGS = \
        $(AM_CFLAGS) \