forked from Lainports/freebsd-ports
- Switch to using "x.py dist" instead of "x.py build" in the do-build phase as
we are missing the rustc-dev component on nightly
- Revert part of [1] as it causes cross build problem with lang/rust-bootstrap@powerpc
- Mark devel/racer as deprecated: it's hard to maintain due to recurrent build problem
and it's not actively maintained. Upstream advises to use devel/rust-analyzer instead.
[1] 07dae5a97b
Announce: https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1600-2022-04-07
Reviewed by: tobik
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D34823
15 lines
636 B
XML
15 lines
636 B
XML
Revert part of [1] as it causes cross build problem with lang/rust-bootstrap@powerpc
|
|
|
|
[1] https://github.com/rust-lang/rust/commit/07dae5a97b64100f5abd511f1e2d5a6263a54006
|
|
|
|
--- src/bootstrap/native.rs.orig 2022-04-13 15:53:33.692586000 +0200
|
|
+++ src/bootstrap/native.rs 2022-04-13 15:53:47.191939000 +0200
|
|
@@ -318,7 +318,7 @@ impl Step for Llvm {
|
|
|
|
// Workaround for ppc32 lld limitation
|
|
if target == "powerpc-unknown-freebsd" {
|
|
- ldflags.exe.push(" -fuse-ld=bfd");
|
|
+ cfg.define("CMAKE_EXE_LINKER_FLAGS", "-fuse-ld=bfd");
|
|
}
|
|
|
|
// https://llvm.org/docs/HowToCrossCompileLLVM.html
|