Merge pull request #330949 from reckenrode/ld64-cross-compilation-install-check-fixes
ld64: fix cross-compilation install check phase
This commit is contained in:
commit
4f3e9fe23b
@ -170,7 +170,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
cd "$NIX_BUILD_TOP/$sourceRoot"
|
||||
|
||||
export NIX_CFLAGS_COMPILE+=" --ld-path=$out/bin/${targetPrefix}ld"
|
||||
meson setup build-install-check -Db_lto=true --buildtype=$mesonBuildType
|
||||
meson setup build-install-check -Db_lto=true --buildtype=$mesonBuildType${
|
||||
lib.optionalString (targetPrefix != "") " -Dtarget_prefix=${targetPrefix}"
|
||||
}
|
||||
|
||||
cd build-install-check
|
||||
ninja ${targetPrefix}ld "-j$NIX_BUILD_CORES"
|
||||
|
Loading…
Reference in New Issue
Block a user