Module: check_mk
Branch: master
Commit: c213a0c3ce3ce6bd6d3d33bd746b2f75b74bde31
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c213a0c3ce3ce6…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Tue Nov 29 11:56:39 2016 +0100
Link C++ libs statically. Use C++14.
---
bin/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/Makefile b/bin/Makefile
index c683185..9debf8f 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -24,7 +24,8 @@
# TODO(sp) We should really use autotools here...
CXX := g++-5
-CXXFLAGS := -std=c++11 -g -O3 -Wall -Wextra
+CXXFLAGS := -std=c++14 -g -O3 -Wall -Wextra
+LDFLAGS := -static-libstdc++
EXECUTABLES := mkevent mkeventd_open514
.PHONY: all clean