[med-svn] [fermi-lite] 04/09: fix hardening

Sascha Steinbiss satta at debian.org
Thu Jul 28 22:24:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

satta pushed a commit to branch master
in repository fermi-lite.

commit ebc961f1ac4aab077478cb87729e61d2bb4fa507
Author: Sascha Steinbiss <satta at debian.org>
Date:   Thu Jul 28 22:10:28 2016 +0000

    fix hardening
---
 debian/patches/hardening       | 4 ++--
 debian/patches/make_shared_lib | 2 +-
 debian/rules                   | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/patches/hardening b/debian/patches/hardening
index 0cc2f59..ca3573f 100644
--- a/debian/patches/hardening
+++ b/debian/patches/hardening
@@ -6,9 +6,9 @@ Last-Update: 2016-01-08
 +++ b/Makefile
 @@ -1,5 +1,5 @@
 -CC=			gcc
--CFLAGS=		-g -Wall -O2 -Wno-unused-function -fPIC #-fno-inline-functions -fno-inline-functions-called-once
+-CFLAGS=		-g -Wall -O2 -fPIC  #-fno-inline-functions -fno-inline-functions-called-once
 +CC?=			gcc
-+CFLAGS+=		-g -Wall -O2 -Wno-unused-function -fPIC #-fno-inline-functions -fno-inline-functions-called-once
++CFLAGS+=		-g -Wall -O2 -fPIC  #-fno-inline-functions -fno-inline-functions-called-once
  CPPFLAGS=
  INCLUDES=	
  OBJS=		kthread.o misc.o \
diff --git a/debian/patches/make_shared_lib b/debian/patches/make_shared_lib
index fa8fc21..eec0747 100644
--- a/debian/patches/make_shared_lib
+++ b/debian/patches/make_shared_lib
@@ -7,7 +7,7 @@ Last-Update: 2016-01-08
 @@ -1,5 +1,5 @@
  CC=			gcc
 -CFLAGS=		-g -Wall -O2 -Wno-unused-function #-fno-inline-functions -fno-inline-functions-called-once
-+CFLAGS=		-g -Wall -O2 -Wno-unused-function -fPIC #-fno-inline-functions -fno-inline-functions-called-once
++CFLAGS=		-g -Wall -O2 -fPIC  #-fno-inline-functions -fno-inline-functions-called-once
  CPPFLAGS=
  INCLUDES=	
  OBJS=		kthread.o misc.o \
diff --git a/debian/rules b/debian/rules
index 70e0bce..68adc0c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 
 %:
 	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/fermi-lite.git



More information about the debian-med-commit mailing list