1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-15 11:46:41 +00:00
termux-packages/disabled-packages/rustc-nightly/src-librustc_llvm-build.rs.patch
Henrik Grimler 61d4590785
disable(main/rustc-nightly): package is not maintained
It is outdated and no longer works after libllvm update.  Move to
disabled packages until someone wants to maintain it.

Fixes termux/termux-packages#12042.
2022-09-25 09:45:53 +02:00

13 lines
572 B
Diff

diff -u -r ../rustc-1.34.1-src/src/librustc_llvm/build.rs ./src/librustc_llvm/build.rs
--- ../rustc-1.34.1-src/src/librustc_llvm/build.rs 2019-04-24 21:07:08.000000000 +0000
+++ ./compiler/rustc_llvm/build.rs 2019-05-05 20:56:34.090330174 +0000
@@ -244,6 +244,8 @@
"c++"
} else if target.contains("darwin") {
"c++"
+ } else if target.contains("android") {
+ "c++_shared"
} else if target.contains("netbsd") && llvm_static_stdcpp.is_some() {
// NetBSD uses a separate library when relocation is required
"stdc++_pic"