1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/usr/bin/make -f
include /usr/share/hardening-includes/hardening.make
CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
LDFLAGS+=$(HARDENING_LDFLAGS) -Wl,-z,defs -Wl,--as-needed -Wl,-O1
CFLAGS+=$(HARDENING_CFLAGS)
export CFLAGS LDFLAGS
override_dh_auto_configure:
NOCONFIGURE=1 xdt-autogen
dh_auto_configure
override_dh_makeshlibs:
dh_makeshlibs -n -X /usr/lib/thunarx-2/
override_dh_install:
rm -rf debian/thunar-vcs-plugin/usr/lib/thunarx-2/*.la
dh_install --fail-missing
%:
dh $@
|