From: Dima K. <no...@di...> - 2012-12-31 10:43:36
|
> On Mon, 31 Dec 2012 10:14:20 +0100 > Arnout Engelen <no...@bz...> wrote: > > > There are similar issues in the definition of the debian package. Should those > > be reported directly to the debian package maintainer, or is this list a good > > place for those also? > > This list is fine, me and Philipp did most of the recent packaging work. Great. The debianization is in the same file (system-autodetect.mk). The hardening flags should look something like: DPKG_BUILDFLAGS_CFLAGS := $(shell dpkg-buildflags --get CFLAGS) DPKG_BUILDFLAGS_CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) DPKG_BUILDFLAGS_LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) CFLAGS=-Os $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) \ $(DPKG_BUILDFLAGS_CFLAGS) $(DPKG_BUILDFLAGS_CPPFLAGS) This affects debian/patches/216_hardening-flags.diff |