[PATCH libevdev] Drop gcov flags from main libevdev sources

David Herrmann dh.herrmann at gmail.com
Sun Nov 17 22:53:56 PST 2013


Hi Peter

On Mon, Nov 18, 2013 at 4:55 AM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> 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>

Reviewed-by: David Herrmann <dh.herrmann at gmail.com>

Thanks
David

> ---
>  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
>
> _______________________________________________
> Input-tools mailing list
> Input-tools at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/input-tools


More information about the Input-tools mailing list