summaryrefslogtreecommitdiff
path: root/debian/rules.static
diff options
context:
space:
mode:
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