gcc14: fixup build on aarch64-darwin (#477982)
This commit is contained in:
@@ -164,7 +164,10 @@ optionals noSysDirs (
|
||||
## Darwin
|
||||
|
||||
# Fixes detection of Darwin on x86_64-darwin and aarch64-darwin. Otherwise, GCC uses a deployment target of 10.5, which crashes ld64.
|
||||
++ optional (is14 && stdenv.hostPlatform.isDarwin) ../patches/14/libgcc-darwin-detection.patch
|
||||
++ optional (
|
||||
# this one would conflict with gcc-14-darwin-aarch64-support.patch
|
||||
is14 && stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64
|
||||
) ../patches/14/libgcc-darwin-detection.patch
|
||||
++ optional (atLeast15 && stdenv.hostPlatform.isDarwin) ../patches/15/libgcc-darwin-detection.patch
|
||||
|
||||
# Fix libgcc_s.1.dylib build on Darwin 11+ by not reexporting unwind symbols that don't exist
|
||||
|
||||
Reference in New Issue
Block a user