2 Subject: hardening CFLAGS and CPPFLAGS
3 Author: Joachim Wiedorn <joodebian at joonet.de>
4 Origin: issues found in buildd logs for lilo
6 Last-Update: 2016-07-15
9 diff -urN s06/src/Makefile s07/src/Makefile
10 --- s06/src/Makefile 2016-07-15 21:41:14.977602579 +0200
11 +++ s07/src/Makefile 2016-07-15 21:52:35.979409943 +0200
14 G=`cat foo1 foo2 | grep version | cut -d " " -f 3`
16 -CFLAGS=$(OPT) -Wall $(PCONFIG)
17 +CFLAGS = $(OPT) -Wall $(PCONFIG) `dpkg-buildflags --get CFLAGS`
18 +CPPFLAGS = `dpkg-buildflags --get CPPFLAGS`
21 OBJS=lilo.o raid.o map.o geometry.o boot.o device.o common.o bsect.o cfg.o \