From d4706c6dbf9d0f0b795eb431f5fb6d2396625a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 19 Jan 2015 12:25:28 +0100 Subject: Remove oldstyle hardening tags & useless comments --- debian/changelog | 3 +++ debian/rules | 16 ++++------------ 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/debian/changelog b/debian/changelog index dd40392..7e06f5d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,9 @@ simple-scan (3.15.4-1) UNRELEASED; urgency=medium * debian/control: - Change Architecture to linux-any to prevent build error on systems with no systemd. + * debian/rules: + - Remove oldstyle hardening tags. + - Remove useless comments. -- Jörg Frings-Fürst Mon, 19 Jan 2015 09:43:33 +0100 diff --git a/debian/rules b/debian/rules index 66ff5ec..0a0bbe9 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,4 @@ -#!/usr/bin/make -f +#!/usr/bin/make -f # # 2014-07-22 Jörg Frings-Fürst @@ -6,23 +6,15 @@ # - enable hardening # - install NEWS as upstream changelog # +# 2015-01-19 Jörg Frings-Fürst # - +# - remove old style hardening. +# - remove useless comments. # # Hardening # -# export DEB_BUILD_MAINT_OPTIONS = hardening=+all -DPKG_EXPORT_BUILDFLAGS = 1 -include /usr/share/dpkg/buildflags.mk - -#export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) -#export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) -#export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) -#export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) - -#LDFLAGS+=-Wl,--as-needed %: dh $@ --with=autoreconf,scour -- cgit v1.2.3