gcc6: add x86_64-darwin to badPlatforms

ld64 crashes when trying to link during the GCC bootstrap.
This commit is contained in:
Randy Eckenrode 2024-07-21 22:57:11 -04:00
parent 621d0e188e
commit 33f416e434
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9

View File

@ -450,7 +450,7 @@ pipe ((callFile ./common/builder.nix {}) ({
badPlatforms =
# avr-gcc8 is maintained for the `qmk` package
if (is8 && targetPlatform.isAvr) then []
else if !(is48 || is49) then [ "aarch64-darwin" ]
else if !(is48 || is49 || is6) then [ "aarch64-darwin" ]
else platforms.darwin;
} // optionalAttrs is11 {
badPlatforms = if targetPlatform != hostPlatform then [ "aarch64-darwin" ] else [ ];