summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-09-08 22:48:06 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-09-08 22:53:08 +0200
commit001aa2e7457382fc6e8bf8bf7b14dd53af99bfed (patch)
treeb70b1d7f52ab1bfc773a9dd6f0c71eb376800386 /debian
parentb3c03d918ec2bb2e3d1700a1cc7a4a862ccb5a30 (diff)
downloadlibrda-001aa2e7457382fc6e8bf8bf7b14dd53af99bfed.tar.gz
librda-001aa2e7457382fc6e8bf8bf7b14dd53af99bfed.tar.bz2
librda-001aa2e7457382fc6e8bf8bf7b14dd53af99bfed.zip
debian/rules: Enable X2Go and Ogon awareness. Enable all hardening build flags.
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules15
1 files changed, 14 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index dd9063b..10bd6f4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,17 @@
#!/usr/bin/make -f
+NULL=
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
%:
- dh $@ --with autoreconf
+ dh $@
+
+override_dh_auto_configure:
+ dh_auto_configure $(DHFLAGS) -- \
+ --disable-silent-rules \
+ --enable-x2go \
+ --enable-ogon \
+ $(NULL)