From 95e3b9f2c58b6a529d67fcc17f4496991af41410 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Wed, 23 Oct 2024 20:39:03 +0200 Subject: [PATCH] conditonalize riscv64 workaround MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to only happen when building on riscv64 Signed-off-by: Fabian Grünbichler --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index 694a1641ed..e18a88faec 100755 --- a/debian/rules +++ b/debian/rules @@ -23,9 +23,11 @@ export TARGET_LDFLAGS = $(LDFLAGS) unexport CFLAGS CXXFLAGS CPPFLAGS LDFLAGS export CARGO_HOME = $(CURDIR)/debian/cargo +ifeq (riscv64,$(DEB_BUILD_ARCH)) # temporary fix to build 1.82 with 1.82 # see https://github.com/rust-lang/rust/issues/129268#issuecomment-2430156277 export CARGO_FEATURE_NO_F16_F128=1 +endif # Defines DEB_*_RUST_TYPE triples include debian/architecture.mk