* Pilisi Gergely <[email protected]>, 2016-01-22, 14:55:
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export CPPFLAGS=$(shell dpkg-buildflags --get CPPFLAGS)
export CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
export CXXFLAGS=$(shell dpkg-buildflags --get CXXFLAGS)
export LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)

Note that $(shell) constructs are not affected by variables exported in the same makefile.

export CCFLAGS=$(shell dplg-buildflags --get CFLAGS)

Typo: s/dplg/dpkg/.

What is wrong with that? :(

blhc(1) is invaluable for debugging hardening issues.

--
Jakub Wilk

Reply via email to