[SCM] setbfree/master: Fix some hardening.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Mon Jun 20 19:36:04 UTC 2016


The following commit has been merged in the master branch:
commit e168f9a7f2444d5f21d02439982ecd609417c8f4
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Mon Jun 20 21:14:49 2016 +0200

    Fix some hardening.

diff --git a/debian/rules b/debian/rules
index 267e772..69f31af 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,6 @@
 #!/usr/bin/make -f
 
-export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
-export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
-export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
-export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
-
-export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow, +pie
+export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow, -pie
 
 %:
 	dh $@ --parallel

-- 
setbfree packaging



More information about the pkg-multimedia-commits mailing list