mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-31 05:22:24 +01:00
This divides up the patches in three logical categories: - musl-*.patch: musl support patches intended for upstreaming; - alpine-*.patch: Alpine-specific patches that are likely not upstreamable; - *.patch: functionality patch that may make it upstream.
17 lines
442 B
Diff
17 lines
442 B
Diff
From: Jakub Jirutka <jakub@jirutka.cz>
|
|
Date: Thu, 04 Aug 2016 17:53:00 +0200
|
|
Subject: [PATCH] Workaround for external LLVM built with LLVM_ENABLE_FFI
|
|
|
|
Workaround for problem with LLVM_ENABLE_FFI described in
|
|
https://github.com/rust-lang/rust/issues/34486.
|
|
|
|
--- a/src/librustc_llvm/lib.rs
|
|
+++ b/src/librustc_llvm/lib.rs
|
|
@@ -432,3 +432,6 @@
|
|
mod llvmdeps {
|
|
include! { env!("CFG_LLVM_LINKAGE_FILE") }
|
|
}
|
|
+
|
|
+#[link(name = "ffi")]
|
|
+extern {}
|