diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-01-26 12:23:17 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-01-26 12:23:17 +0000 |
commit | 988dc662364d9ab3d7cea82c642068a27b0c1254 (patch) | |
tree | 4dafe0de70ac6e2901608670e3025397c917f892 /lang/rust/files | |
parent | sysutils/kapp: Add new port (diff) |
lang/rust: remove support for armv6 and powerpc64 elfv1
Support for both has been removed from lang/rust-bootstrap.
Diffstat (limited to 'lang/rust/files')
-rw-r--r-- | lang/rust/files/patch-compiler_rustc__target_src_abi_call_powerpc64.rs (renamed from lang/rust/files/powerpc64-elfv2/patch-compiler_rustc__target_src_abi_call_powerpc64.rs) | 0 | ||||
-rw-r--r-- | lang/rust/files/patch-compiler_rustc__target_src_spec_powerpc64__unknown__freebsd.rs (renamed from lang/rust/files/powerpc64-elfv2/patch-compiler_rustc__target_src_spec_powerpc64__unknown__freebsd.rs) | 0 | ||||
-rw-r--r-- | lang/rust/files/powerpc64-elfv1/patch-compiler_rustc__llvm_build.rs | 18 | ||||
-rw-r--r-- | lang/rust/files/powerpc64-elfv1/patch-src_bootstrap_native.rs | 13 |
4 files changed, 0 insertions, 31 deletions
diff --git a/lang/rust/files/powerpc64-elfv2/patch-compiler_rustc__target_src_abi_call_powerpc64.rs b/lang/rust/files/patch-compiler_rustc__target_src_abi_call_powerpc64.rs index 2524e1872984..2524e1872984 100644 --- a/lang/rust/files/powerpc64-elfv2/patch-compiler_rustc__target_src_abi_call_powerpc64.rs +++ b/lang/rust/files/patch-compiler_rustc__target_src_abi_call_powerpc64.rs diff --git a/lang/rust/files/powerpc64-elfv2/patch-compiler_rustc__target_src_spec_powerpc64__unknown__freebsd.rs b/lang/rust/files/patch-compiler_rustc__target_src_spec_powerpc64__unknown__freebsd.rs index 22b0f628dade..22b0f628dade 100644 --- a/lang/rust/files/powerpc64-elfv2/patch-compiler_rustc__target_src_spec_powerpc64__unknown__freebsd.rs +++ b/lang/rust/files/patch-compiler_rustc__target_src_spec_powerpc64__unknown__freebsd.rs diff --git a/lang/rust/files/powerpc64-elfv1/patch-compiler_rustc__llvm_build.rs b/lang/rust/files/powerpc64-elfv1/patch-compiler_rustc__llvm_build.rs deleted file mode 100644 index 7cbcd814aade..000000000000 --- a/lang/rust/files/powerpc64-elfv1/patch-compiler_rustc__llvm_build.rs +++ /dev/null @@ -1,18 +0,0 @@ ---- compiler/rustc_llvm/build.rs.orig 2019-12-16 15:38:05 UTC -+++ compiler/rustc_llvm/build.rs -@@ -273,7 +273,14 @@ fn main() { - }; - - // C++ runtime library -- if !target.contains("msvc") { -+ if target == "powerpc64-unknown-freebsd" { -+ if is_crossed { -+ println!("cargo:rustc-link-search=native=%WRKDIR%/usr/local/lib/%CC%"); -+ } else { -+ println!("cargo:rustc-link-search=native=/usr/local/lib/%CC%"); -+ } -+ println!("cargo:rustc-link-lib=static=stdc++"); -+ } else if !target.contains("msvc") { - if let Some(s) = llvm_static_stdcpp { - assert!(!cxxflags.contains("stdlib=libc++")); - let path = PathBuf::from(s); diff --git a/lang/rust/files/powerpc64-elfv1/patch-src_bootstrap_native.rs b/lang/rust/files/powerpc64-elfv1/patch-src_bootstrap_native.rs deleted file mode 100644 index c34a7fe90781..000000000000 --- a/lang/rust/files/powerpc64-elfv1/patch-src_bootstrap_native.rs +++ /dev/null @@ -1,13 +0,0 @@ ---- src/bootstrap/native.rs.orig 2021-09-06 18:42:35 UTC -+++ src/bootstrap/native.rs -@@ -277,6 +277,10 @@ impl Step for Llvm { - } - } - -+ if target == "powerpc64-unknown-freebsd" { -+ cfg.define("CMAKE_EXE_LINKER_FLAGS", "-Wl,-rpath=/usr/local/lib/%CC% -L/usr/local/lib/%CC%"); -+ } -+ - // https://llvm.org/docs/HowToCrossCompileLLVM.html - if target != builder.config.build { - builder.ensure(Llvm { target: builder.config.build }); |