Enable hardening flags
This commit is contained in:
parent
6ef4c02145
commit
3942daf3a1
2
debian/rules
vendored
2
debian/rules
vendored
@ -3,7 +3,7 @@
|
||||
include /usr/share/dpkg/pkg-info.mk
|
||||
|
||||
# Do not build with link-time optimization, cf. https://bugs.debian.org/1034873
|
||||
export DEB_BUILD_MAINT_OPTIONS := optimize=-lto
|
||||
export DEB_BUILD_MAINT_OPTIONS := optimize=-lto hardening=+all
|
||||
|
||||
export DEB_CXXFLAGS_MAINT_APPEND := $(shell dpkg-buildflags --get CPPFLAGS)
|
||||
export DEB_CFLAGS_MAINT_APPEND := $(shell dpkg-buildflags --get CPPFLAGS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user