mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-09 00:08:52 -04:00
Enable all hardening buildflags.
Adds ld -z now & -fPIE -pie.
This commit is contained in:
parent
8a133ddf53
commit
83d823e76d
3
debian/rules
vendored
3
debian/rules
vendored
@ -7,6 +7,9 @@
|
|||||||
# This has to be exported to make some magic below work.
|
# This has to be exported to make some magic below work.
|
||||||
export DH_OPTIONS
|
export DH_OPTIONS
|
||||||
|
|
||||||
|
# Enable hardening build flags
|
||||||
|
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
|
||||||
|
|
||||||
# These are used for cross-compiling and for saving the configure script
|
# These are used for cross-compiling and for saving the configure script
|
||||||
# from having to guess our platform (since we know it already)
|
# from having to guess our platform (since we know it already)
|
||||||
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user