diff --git a/debian/rules b/debian/rules index 540e4877b65ea1eec630a94cb610f71e021394aa..8a31a4e8ae0ca049b1b3936cd3b37c4329b6e60d 100755 --- a/debian/rules +++ b/debian/rules @@ -47,14 +47,6 @@ else dh_shlibdeps endif -override_dh_makeshlibs: -ifeq ($(IS_NONSPAWN),) - @echo "Nspawn build — forcing native objdump for dh_makeshlibs" - DEB_HOST_GNU_TYPE=$${DEB_BUILD_GNU_TYPE:-$$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)} dh_makeshlibs -else - dh_makeshlibs -endif - override_dh_dwz: ifeq ($(IS_NONSPAWN),) @echo "Skipping dh_dwz (DWARF5 from clang not supported by dwz)" @@ -65,7 +57,7 @@ endif override_dh_strip: ifeq ($(IS_NONSPAWN),) @echo "Nspawn build — forcing native objcopy and disabling auto dbgsym" - DEB_HOST_GNU_TYPE=$${DEB_BUILD_GNU_TYPE:-$$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)} dh_strip --no-automatic-dbgsym + DEB_HOST_GNU_TYPE=$(DEB_BUILD_GNU_TYPE) dh_strip --no-automatic-dbgsym else dh_strip endif