Merge pull request #66419 from takeda/busybox

busybox: apply clang-cross patch when host is different than build system.
This commit is contained in:
Matthew Bauer
2019-08-10 20:18:18 -04:00
committed by GitHub

View File

@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
patches = [
./busybox-in-store.patch
] ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.targetPlatform) ./clang-cross.patch;
] ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) ./clang-cross.patch;
postPatch = "patchShebangs .";