summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2017-02-06 17:08:15 -0500
committerPaul Moore <paul@paul-moore.com>2017-02-06 18:40:02 -0500
commita697763953670b7d9ce3375fe2d3c6fe87fb076c (patch)
tree8c35973cd5a1491dfac23ff50e12aed7d1d77936 /src
parenteb78d651177aea5812a2757e72326388954fe1ec (diff)
downloadlibseccomp-a697763953670b7d9ce3375fe2d3c6fe87fb076c.tar.gz
build: add basic code coverage support
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index be83a12..e489cec 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -54,9 +54,11 @@ arch_syscall_dump_SOURCES = arch-syscall-dump.c ${SOURCES_ALL}
arch_syscall_check_SOURCES = arch-syscall-check.c ${SOURCES_ALL}
libseccomp_la_SOURCES = ${SOURCES_ALL}
-libseccomp_la_CPPFLAGS = ${AM_CPPFLAGS} -I${top_builddir}/include
-libseccomp_la_CFLAGS = ${AM_CFLAGS} ${CFLAGS} -fPIC -DPIC -fvisibility=hidden
-libseccomp_la_LDFLAGS = ${AM_LDFLAGS} ${LDFLAGS} \
+libseccomp_la_CPPFLAGS = ${AM_CPPFLAGS} ${CODE_COVERAGE_CPPFLAGS} \
+ -I${top_builddir}/include
+libseccomp_la_CFLAGS = ${AM_CFLAGS} ${CODE_COVERAGE_CFLAGS} ${CFLAGS} \
+ -fPIC -DPIC -fvisibility=hidden
+libseccomp_la_LDFLAGS = ${AM_LDFLAGS} ${CODE_COVERAGE_LDFLAGS} ${LDFLAGS} \
-version-number ${VERSION_MAJOR}:${VERSION_MINOR}:${VERSION_MICRO}
check-build: