aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index d2cbcb1c..c29364db 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -3,6 +3,9 @@ include $(top_srcdir)/gtester.make
# Common CPPFLAGS and LDFLAGS
+AM_CFLAGS = $(CODE_COVERAGE_CFLAGS)
+AM_LDFLAGS = $(CODE_COVERAGE_LDFLAGS)
+
PLUGIN_COMMON_COMPILER_FLAGS = \
$(MM_CFLAGS) \
$(GUDEV_CFLAGS) \
@@ -13,13 +16,15 @@ PLUGIN_COMMON_COMPILER_FLAGS = \
-I$(top_builddir)/include \
-I$(top_srcdir)/libmm-glib \
-I$(top_srcdir)/libmm-glib/generated \
- -I$(top_builddir)/libmm-glib/generated
+ -I$(top_builddir)/libmm-glib/generated \
+ $(AM_CFLAGS)
PLUGIN_COMMON_LINKER_FLAGS = \
$(GUDEV_LIBS) \
$(MM_LIBS) \
-module \
- -avoid-version
+ -avoid-version \
+ $(AM_LDFLAGS)
if WITH_QMI
PLUGIN_COMMON_COMPILER_FLAGS += $(QMI_CFLAGS)