glibc: enable cross builds on Darwin
add patch file for cross compilation on Darwin documentation of the changes is at the top of the patch file
This commit is contained in:
@@ -90,7 +90,8 @@ stdenv.mkDerivation ({
|
||||
./allow-kernel-2.6.32.patch
|
||||
]
|
||||
++ lib.optional stdenv.isx86_64 ./fix-x64-abi.patch
|
||||
++ lib.optional stdenv.hostPlatform.isMusl ./fix-rpc-types-musl-conflicts.patch;
|
||||
++ lib.optional stdenv.hostPlatform.isMusl ./fix-rpc-types-musl-conflicts.patch
|
||||
++ lib.optional stdenv.buildPlatform.isDarwin ./darwin-cross-build.patch;
|
||||
|
||||
postPatch =
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user