mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Debian: enable PIE and BINDNOW hardening in build.
This commit is contained in:
2
debian/rules
vendored
2
debian/rules
vendored
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
package=dnsmasq-base
|
package=dnsmasq-base
|
||||||
|
|
||||||
dpkg_buildflags := DEB_BUILD_MAINT_OPTIONS="hardening=+all" dpkg-buildflags
|
dpkg_buildflags := DEB_BUILD_MAINT_OPTIONS="hardening=+all,+pie,+bindnow" dpkg-buildflags
|
||||||
|
|
||||||
CFLAGS = $(shell $(dpkg_buildflags) --get CFLAGS)
|
CFLAGS = $(shell $(dpkg_buildflags) --get CFLAGS)
|
||||||
CFLAGS += $(shell $(dpkg_buildflags) --get CPPFLAGS)
|
CFLAGS += $(shell $(dpkg_buildflags) --get CPPFLAGS)
|
||||||
|
|||||||
Reference in New Issue
Block a user