ifeq ($(DEB_TARGET_RUST_TYPE),-unknown-)
DEB_TARGET_RUST_TYPE = $(DEB_HOST_RUST_TYPE)
endif
+
+DEB_BUILD_RUST_TYPE = $(shell dpkg -L rustc | grep '/usr/lib/rustlib/' | head -n 1 | cut -d '/' -f 5)
* Build for armv6.
[changes introduced in 1.18.0+dfsg1-4+rpi1 by Peter Michael Green]
* Disable testsuite.
+ [changes introduced in 1.37.0+dfsg1-1+rpi1 by Peter Michael Green]
+ * Set DEB_BUILD_RUST_TYPE based on the compiler that is actually installed.
-- Peter Micheal Green <plugwash@raspbian.org> Tue, 17 Sep 2019 01:17:52 +0000