summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules16
1 files changed, 11 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index d42cda7..1e136b7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,15 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+
+include /usr/share/dpkg/buildtools.mk
+
+#
+# for use $(DEB_ ...
+#
+include /usr/share/dpkg/default.mk
+
+
#
# Hardening
#
@@ -12,12 +21,9 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#
# add -Wall to compilerflags
#
-export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) -Wall
+export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) -Wall -std=c++14
+export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) -Wall -std=c++14
-#
-# for use $(DEB_ ...
-#
-include /usr/share/dpkg/default.mk
%:
dh $@