d/rules: Export all hardening flags.
This commit is contained in:
6
debian/rules
vendored
6
debian/rules
vendored
@ -1,7 +1,13 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@ --sourcedirectory=Src
|
dh $@ --sourcedirectory=Src
|
||||||
|
|
||||||
|
override_dh_auto_build:
|
||||||
|
$(MAKE) -C Src CFLAGS="$(CPPFLAGS) $(CFLAGS)" \
|
||||||
|
COPTS="$(CPPFLAGS) $(LDFLAGS)"
|
||||||
|
|
||||||
# just use dh_install* instead of upstream's "make install"
|
# just use dh_install* instead of upstream's "make install"
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
|
Reference in New Issue
Block a user