From 3ae66411561a263b84c903251ecb8e66c47ed596 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Thu, 16 Mar 2023 09:35:34 +0100 Subject: [PATCH] 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 --- bindings/cxx/tests/Makefile.am | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.30.2