Enabling hardening and other best practices
This commit is contained in:
parent
c2bef2309a
commit
26797c3953
|
|
@ -3,13 +3,16 @@
|
|||
export DH_VERBOSE = 1
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
||||
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1
|
||||
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O2
|
||||
export DEB_BUILD_HARDENING_FORTIFY = 1
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_build:
|
||||
dh_auto_build -- PREFIX=/usr all
|
||||
# Ignore makeshlibs. Our included binary is a custom copy of wlroots
|
||||
# that is installed into a private directory (/usr/lib/hyprland/).
|
||||
override_dh_makeshlibs:
|
||||
:
|
||||
override_dh_auto_install:
|
||||
|
|
|
|||
Loading…
Reference in New Issue