summaryrefslogtreecommitdiff
path: root/debian/rules.static
diff options
context:
space:
mode:
authorAdam Ierymenko <[email protected]>2017-03-17 19:16:34 -0700
committerAdam Ierymenko <[email protected]>2017-03-17 19:16:34 -0700
commitec8e1178e5cfbe9cd790928dd06562af734a2d48 (patch)
tree66219559ff96a1594b1c5821fb1bfc67ae7b36ec /debian/rules.static
parent4f3f471b4c7726b9ac66304788613c3c12e09d12 (diff)
Version bumps, and fix Debian so default is to build normally and .static files are used in our builds.
Diffstat (limited to 'debian/rules.static')
-rw-r--r--debian/rules.static16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/rules.static b/debian/rules.static
new file mode 100644
index 00000000..72c52955
--- /dev/null
+++ b/debian/rules.static
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+CFLAGS=-O3 -fstack-protector-strong
+CXXFLAGS=-O3 -fstack-protector-strong
+
+%:
+ dh $@ --with systemd
+
+override_dh_auto_build:
+# make -j 2
+
+override_dh_systemd_start:
+ dh_systemd_start --restart-after-upgrade
+
+override_dh_installinit:
+ dh_installinit --name=zerotier-one -- defaults