[PATCH libinput 6/8] test: drop TEST_CFLAGS

Peter Hutterer peter.hutterer at who-t.net
Thu Jun 5 23:19:04 PDT 2014


We're using the same flags for everything anyway, drop the custom flags

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 test/Makefile.am | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/test/Makefile.am b/test/Makefile.am
index 53a3300..70e83d4 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -8,7 +8,6 @@ AM_CFLAGS = $(GCC_CFLAGS)
 AM_CXXFLAGS = $(GCC_CXXFLAGS)
 
 TEST_LIBS = liblitest.la $(CHECK_LIBS) $(LIBUDEV_LIBS) $(LIBEVDEV_LIBS) $(top_builddir)/src/libinput.la -lm
-TEST_CFLAGS = $(AM_CFLAGS)
 noinst_LTLIBRARIES = liblitest.la
 liblitest_la_SOURCES = \
 	$(top_srcdir)/src/libinput-util.h \
@@ -45,51 +44,43 @@ TESTS = $(run_tests)
 .NOTPARALLEL:
 
 test_udev_SOURCES = udev.c
-test_udev_CFLAGS = $(TEST_CFLAGS)
 test_udev_LDADD = $(TEST_LIBS)
 test_udev_LDFLAGS = -static
 
 test_path_SOURCES = path.c
-test_path_CFLAGS = $(TEST_CFLAGS)
 test_path_LDADD = $(TEST_LIBS)
 test_path_LDFLAGS = -static
 
 test_pointer_SOURCES = pointer.c
-test_pointer_CFLAGS = $(TEST_CFLAGS)
 test_pointer_LDADD = $(TEST_LIBS)
 test_pointer_LDFLAGS = -static
 
 test_touch_SOURCES = touch.c
-test_touch_CFLAGS = $(TEST_CFLAGS)
 test_touch_LDADD = $(TEST_LIBS)
 test_touch_LDFLAGS = -static
 
 test_log_SOURCES = log.c
-test_log_CFLAGS = $(TEST_CFLAGS)
 test_log_LDADD = $(TEST_LIBS)
 test_log_LDFLAGS = -static
 
 test_touchpad_SOURCES = touchpad.c
-test_touchpad_CFLAGS = $(TEST_CFLAGS)
 test_touchpad_LDADD = $(TEST_LIBS)
 test_touchpad_LDFLAGS = -static
 
 test_misc_SOURCES = misc.c
-test_misc_CFLAGS = $(TEST_CFLAGS)
 test_misc_LDADD = $(TEST_LIBS)
 test_misc_LDFLAGS = -static
 
 test_keyboard_SOURCES = keyboard.c
-test_keyboard_CFLAGS = $(TEST_CFLAGS)
 test_keyboard_LDADD = $(TEST_LIBS)
 test_keyboard_LDFLAGS = -static
 
 # build-test only
 test_build_pedantic_c99_SOURCES = build-pedantic.c
-test_build_pedantic_c99_CFLAGS = $(TEST_CFLAGS) -std=c99 -pedantic -Werror
+test_build_pedantic_c99_CFLAGS = -std=c99 -pedantic -Werror
 
 test_build_std_gnuc90_SOURCES = build-pedantic.c
-test_build_std_gnuc90_CFLAGS = $(TEST_CFLAGS) -std=gnu90 -Werror
+test_build_std_gnuc90_CFLAGS = -std=gnu90 -Werror
 
 # test for linking with the minimal linker flags
 test_build_linker_SOURCES = build-pedantic.c
-- 
1.9.3



More information about the wayland-devel mailing list