From: Bartosz Golaszewski Date: Thu, 16 Mar 2023 08:35:34 +0000 (+0100) Subject: bindings: cxx: tests: drop profiling flags from CXXFLAGS and LDFLAGS X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3ae66411561a263b84c903251ecb8e66c47ed596;p=qemu-gpiodev%2Flibgpiod.git bindings: cxx: tests: drop profiling flags from CXXFLAGS and LDFLAGS We only need to generate gcov data for the library, not the test executable. Signed-off-by: Bartosz Golaszewski --- diff --git a/bindings/cxx/tests/Makefile.am b/bindings/cxx/tests/Makefile.am index 924a3cd..d53a69f 100644 --- a/bindings/cxx/tests/Makefile.am +++ b/bindings/cxx/tests/Makefile.am @@ -4,10 +4,8 @@ AM_CXXFLAGS = -I$(top_srcdir)/bindings/cxx/ -I$(top_srcdir)/include AM_CXXFLAGS += -I$(top_srcdir)/tests/gpiosim/ AM_CXXFLAGS += -Wall -Wextra -g -std=gnu++17 $(CATCH2_CFLAGS) -AM_CXXFLAGS += $(PROFILING_CFLAGS) AM_LDFLAGS = -lgpiodcxx -L$(top_builddir)/bindings/cxx/ AM_LDFLAGS += -lgpiosim -L$(top_builddir)/tests/gpiosim/ -AM_LDFLAGS += $(PROFILING_LDFLAGS) AM_LDFLAGS += -pthread bin_PROGRAMS = gpiod-cxx-test