mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-13 13:27:08 +00:00
conditonalize riscv64 workaround
to only happen when building on riscv64 Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
This commit is contained in:
parent
a2c9d5f1a8
commit
95e3b9f2c5
2
debian/rules
vendored
2
debian/rules
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user