summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-08-07 15:32:21 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-08-07 15:32:21 +0200
commit7b5768ae6a3fee6cb80300824b9e758021b22f2e (patch)
treee95dd5a644d154fa77dc63b434c36f3e6b3a8f8c /debian/rules
parent1acb8ee5140d8a2d474700987435bc0630cb24f2 (diff)
Add suport for Dell 13G serverdebian/1.8.14-4
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules16
1 files changed, 3 insertions, 13 deletions
diff --git a/debian/rules b/debian/rules
index 320b420..f2c9474 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,21 +8,12 @@ export DH_OPTIONS
#
# Hardening
#
-export DEB_BUILD_HARDENING=1
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
- INSTALL_PROGRAM += -s
-endif
-
%:
dh $@ --with systemd
@@ -38,4 +29,3 @@ override_dh_installinit:
override_dh_auto_configure:
dh_auto_configure -- --prefix=/usr --with-kerneldir --mandir=/usr/share/man
-