[PATCH libevdev] Drop gcov flags from main libevdev sources

Peter Hutterer peter.hutterer at who-t.net
Sun Nov 17 19:55:14 PST 2013


We recompile the sources anyway in the tests and we have our own CFLAGS there.
Drop them from the main library code so we don't leave gcov files everywhere.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 libevdev/Makefile.am | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/libevdev/Makefile.am b/libevdev/Makefile.am
index 74b3c51..739ed7d 100644
--- a/libevdev/Makefile.am
+++ b/libevdev/Makefile.am
@@ -1,6 +1,6 @@
 lib_LTLIBRARIES=libevdev.la
 
-AM_CPPFLAGS = $(GCC_CFLAGS) $(GCOV_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)
+AM_CPPFLAGS = $(GCC_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)
 
 libevdev_la_SOURCES = \
                    libevdev.h \
@@ -16,7 +16,6 @@ libevdev_la_SOURCES = \
 libevdev_la_LDFLAGS = \
 	-version-info $(LIBEVDEV_LT_VERSION) \
 	-export-symbols-regex '^libevdev_|^LIBEVDEV_' \
-	$(GCOV_LDFLAGS) \
 	$(GNU_LD_FLAGS)
 
 libevdevincludedir = $(includedir)/libevdev-1.0/libevdev
@@ -29,6 +28,3 @@ EXTRA_DIST = make-event-names.py
 CLEANFILES = event-names.h
 BUILT_SOURCES = event-names.h
 
-# gcov leaves it's mess in this directory too
-clean-local:
-	@rm -f *.gcno
-- 
1.8.3.1



More information about the Input-tools mailing list