| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/lang/rust/files/ |
Upload File : |
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