packages/lang/rust
Drew Young 3d799c3eee rust: fix build with glibc, ARM and hard floats
Patch the target triple for Rust with glibc to include hard floating
point support.

The GNU target triple used elsewhere does not include hard float support,
instead `-mfloat-abi=hard` is passed separately. For Rust it must be
included in the target triple. This was already being done for musl,
this commit adds the same patching for glibc.

Without this patch Rust compilation fails with an error like this
(abbreviated to fit the line length):

    ld: error: libstd.so uses VFP register arguments, ... does not
    ld: failed to merge target specific data of file ...

Signed-off-by: Drew Young <dyoung@viridiparente.com>
2023-10-16 09:01:43 +08:00
..
patches rust: update to 1.73.0 2023-10-14 11:25:14 +08:00
Config.in rust: Add option to use sccache 2023-10-11 15:50:24 +08:00
Makefile rust: update to 1.73.0 2023-10-14 11:25:14 +08:00
rust-host-build.mk rust: Use make's jobserver when building packages 2023-10-11 15:50:24 +08:00
rust-package.mk rust: Use make's jobserver when building packages 2023-10-11 15:50:24 +08:00
rust-values.mk rust: fix build with glibc, ARM and hard floats 2023-10-16 09:01:43 +08:00