From 41f4526558b3ce77bfc7a4ac743e39d17b91f2a4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 7 Jun 2024 07:50:11 +0200 Subject: Merging debian version 1.75.0+dfsg1-3. Signed-off-by: Daniel Baumann --- debian/rules | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index ac5631a87..6610d8ec7 100755 --- a/debian/rules +++ b/debian/rules @@ -235,10 +235,10 @@ debian/config.toml: debian/config.toml.in debian/rules if $(DOWNLOAD_BOOTSTRAP) || [ $(HAVE_BINARY_TARBALL) != 0 ]; \ then sed -i -e '/^rustc = /d' -e '/^cargo = /d' "$@"; fi # Work around low-memory (32-bit) architectures: https://github.com/rust-lang/rust/issues/45854 -# i386 and x32 fail to mmap rustc_driver when building rustdoc in >1.60 -ifneq (,$(filter $(DEB_BUILD_ARCH), armhf armel i386 mips mipsel powerpc powerpcspe x32)) - sed -i -e 's/^debuginfo-level = .*/debuginfo-level = 0/g' "$@" -endif +# otherwise they fail to mmap rustc_driver when building rustdoc in >1.60 + if [ $(DEB_BUILD_ARCH_BITS) == "32" ]; then \ + sed -i -e 's/^debuginfo-level = .*/debuginfo-level = 0/g' "$@"; \ + fi check-no-old-llvm: # fail the build if we have any instances of OLD_LLVM_VERSION in debian, except for debian/changelog -- cgit v1.2.3