diff options
Diffstat (limited to 'data')
| -rwxr-xr-x | data/live-build-config/hooks/live/92-strip-symbols.chroot | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data/live-build-config/hooks/live/92-strip-symbols.chroot b/data/live-build-config/hooks/live/92-strip-symbols.chroot index f44cb01d..924cc467 100755 --- a/data/live-build-config/hooks/live/92-strip-symbols.chroot +++ b/data/live-build-config/hooks/live/92-strip-symbols.chroot @@ -9,6 +9,7 @@ # # Set variables. +MULTIARCH="$(dpkg-architecture -qDEB_HOST_MULTIARCH)" STRIPCMD_REGULAR="strip --remove-section=.comment --remove-section=.note --preserve-dates" STRIPCMD_DEBUG="strip --strip-debug --remove-section=.comment --remove-section=.note --preserve-dates" STRIPCMD_UNNEEDED="strip --strip-unneeded --remove-section=.comment --remove-section=.note --preserve-dates" @@ -20,7 +21,7 @@ STRIPDIR_UNNEEDED=" /etc/hsflowd/modules /usr/bin /usr/lib/openvpn -/usr/lib/x86_64-linux-gnu +/usr/lib/${MULTIARCH} /usr/lib32 /usr/lib64 /usr/libx32 |
