]> git.proxmox.com Git - rustc.git/commitdiff
Fix negation of debuginfo-only-std, whoops
authorXimin Luo <infinity0@debian.org>
Fri, 2 Nov 2018 05:20:43 +0000 (22:20 -0700)
committerXimin Luo <infinity0@debian.org>
Fri, 2 Nov 2018 05:20:43 +0000 (22:20 -0700)
debian/rules

index 76f11786577632d9e00803d76f40c1747d7fb3d4..7b9812bad65ec95f8cecc7fe9b2994f0cc090690 100755 (executable)
@@ -155,7 +155,7 @@ 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
-ifeq (,$(filter $(DEB_BUILD_ARCH), armhf armel mips mipsel powerpc powerpcspe))
+ifneq (,$(filter $(DEB_BUILD_ARCH), armhf armel mips mipsel powerpc powerpcspe))
        sed -i -e '/^debuginfo-only-std = /d' "$@"
 endif