Changeset View
Changeset View
Standalone View
Standalone View
lang/rust/files/patch-src_bootstrap_native.rs
--- src/bootstrap/native.rs.orig 2019-01-16 09:30:27 UTC | --- src/bootstrap/native.rs.orig 2019-04-08 12:42:31 UTC | ||||
+++ src/bootstrap/native.rs | +++ src/bootstrap/native.rs | ||||
@@ -218,6 +218,10 @@ impl Step for Llvm { | @@ -209,6 +209,10 @@ impl Step for Llvm { | ||||
} | } | ||||
} | } | ||||
+ if target == "powerpc64-unknown-freebsd" { | + if target == "powerpc64-unknown-freebsd" { | ||||
+ cfg.define("CMAKE_EXE_LINKER_FLAGS", "-Wl,-rpath=/usr/local/lib/%CC% -L/usr/local/lib/%CC%"); | + cfg.define("CMAKE_EXE_LINKER_FLAGS", "-Wl,-rpath=/usr/local/lib/%CC% -L/usr/local/lib/%CC%"); | ||||
+ } | + } | ||||
+ | + | ||||
// http://llvm.org/docs/HowToCrossCompileLLVM.html | // http://llvm.org/docs/HowToCrossCompileLLVM.html | ||||
if target != builder.config.build && !emscripten { | if target != builder.config.build && !emscripten { | ||||
builder.ensure(Llvm { | builder.ensure(Llvm { |