diff --git a/srcpkgs/cargo/template b/srcpkgs/cargo/template index 584ca07efe..ace4c01e77 100644 --- a/srcpkgs/cargo/template +++ b/srcpkgs/cargo/template @@ -17,6 +17,7 @@ checksum="1fade63d5c09eab6fa234a1fdf64693ccf1b63398a316ad27edeb1f76ee4a57e c6597bcdc2be7a2fd70c1bb8fdc75883ca5df6aea33f0354c5a8124eacc0938b" _cargo_dist_version=0.39.0 build_options="static" +nocross=yes if [ "$CROSS_BUILD" ]; then hostmakedepends+=" cargo" diff --git a/srcpkgs/rust/template b/srcpkgs/rust/template index 2f5e5def71..261e0df00d 100644 --- a/srcpkgs/rust/template +++ b/srcpkgs/rust/template @@ -20,6 +20,7 @@ distfiles="https://static.rust-lang.org/dist/rustc-${version}-src.tar.gz" checksum=644263ca7c7106f8ee8fcde6bb16910d246b30668a74be20b8c7e0e9f4a52d80 lib32disabled=yes patch_args="-Np1" +nocross=yes build_options="static_llvm"