Module: check_mk
Branch: master
Commit: 72a2dff8931d0d54ad0dc39b6f3df64e0d4ee3e2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=72a2dff8931d0d…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Jun 26 14:16:00 2017 +0200
Added a code coverage Makefile target.
Change-Id: I5db9382189b116f21ab8a6de0218debf88214b28
---
.gitignore | 1 +
livestatus/src/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index 701b3cb..eadf38d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+*.gcno
*.pyc
*kate-swp
*~
diff --git a/livestatus/src/Makefile.am b/livestatus/src/Makefile.am
index ae96155..7e824a2 100644
--- a/livestatus/src/Makefile.am
+++ b/livestatus/src/Makefile.am
@@ -163,7 +163,7 @@ liblivestatus_a_CXXFLAGS = -fPIC
livestatus.o: $(liblivestatus_a_OBJECTS)
# Note: libstdc++fs is only available as a static library, so we are lucky
- $(CXX) $(LDFLAGS) -shared $^ -o $@ -lstdc++fs -lpthread -static-libstdc++
@BOOST_LDFLAGS@ @BOOST_ASIO_LIB@
+ $(CXXLINK) -shared $^ -lstdc++fs -lpthread -static-libstdc++ @BOOST_LDFLAGS@
@BOOST_ASIO_LIB@
# To make sure we can dlopen() our NEB later
$(CXX) $(liblivestatus_a_CXXFLAGS) $(CXXFLAGS) -c NagiosMockup.cc -o NagiosMockup.o
$(CXX) $(liblivestatus_a_CXXFLAGS) $(CXXFLAGS) NagiosMockup.o $@ -o NagiosMockup