Commit f18f64c9 authored by Joachim Wiedorn's avatar Joachim Wiedorn

Patch for better support of hardening

parent 2aaef851
......@@ -5,6 +5,8 @@ lilo (1:24.2-2) UNRELEASED; urgency=medium
(creating only arch-independent packages). Closes: #806656
* debian/control:
- Bump Standards Version to 3.9.8 (no changes).
* New patches:
- Fix warning found in buildd logs: dpkg-buildflags-missing CFLAGS
-- Joachim Wiedorn <joodebian@joonet.de> Fri, 15 Jul 2016 21:23:45 +0200
......
Package: lilo
Subject: hardening CFLAGS and CPPFLAGS
Author: Joachim Wiedorn <joodebian at joonet.de>
Origin: issues found in buildd logs for lilo
Forwarded: no
Last-Update: 2016-07-15
---
diff -urN s06/src/Makefile s07/src/Makefile
--- s06/src/Makefile 2016-07-15 21:41:14.977602579 +0200
+++ s07/src/Makefile 2016-07-15 21:52:35.979409943 +0200
@@ -22,7 +22,8 @@
NASM=nasm
G=`cat foo1 foo2 | grep version | cut -d " " -f 3`
-CFLAGS=$(OPT) -Wall $(PCONFIG)
+CFLAGS = $(OPT) -Wall $(PCONFIG) `dpkg-buildflags --get CFLAGS`
+CPPFLAGS = `dpkg-buildflags --get CPPFLAGS`
LIBS=$(DEVMAPPER)
OBJS=lilo.o raid.o map.o geometry.o boot.o device.o common.o bsect.o cfg.o \
......@@ -3,3 +3,4 @@
03_keytab-lilo.8-debian-based.patch
05_readme.disk-change.patch
06_notinteractive.patch
07_hardening-cflags+cppflags.patch
......@@ -3,3 +3,4 @@
03_keytab-lilo.8-debian-based.patch
05_readme.disk-change.patch
06_notinteractive.patch
07_hardening-cflags+cppflags.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment