Loading pkgs/development/compilers/gcc/patches/14/libgcc-darwin-detection.patch 0 → 100644 +12 −0 Original line number Diff line number Diff line diff -u a/libgcc/config.host b/libgcc/config.host --- a/libgcc/config.host 2023-11-05 11:01:55.778638446 -0500 +++ b/libgcc/config.host 2023-11-05 11:07:29.405103979 -0500 @@ -227,7 +227,7 @@ tmake_file="$tmake_file t-slibgcc-darwin" # newer toolsets produce warnings when building for unsupported versions. case ${host} in - *-*-darwin1[89]* | *-*-darwin2* ) + *-*-darwin1[89]* | *-*-darwin2* | *-*-darwin) tmake_file="t-darwin-min-8 $tmake_file" ;; *-*-darwin9* | *-*-darwin1[0-7]*) pkgs/development/compilers/gcc/patches/default.nix +3 −0 Original line number Diff line number Diff line Loading @@ -127,6 +127,9 @@ in ## Darwin # Fixes detection of Darwin on x86_64-darwin. Otherwise, GCC uses a deployment target of 10.5, which crashes ld64. ++ optional (atLeast14 && stdenv.isDarwin && stdenv.isx86_64) ../patches/14/libgcc-darwin-detection.patch # Fix detection of bootstrap compiler Ada support (cctools as) on Nix Darwin ++ optional (atLeast12 && stdenv.isDarwin && langAda) ./ada-cctools-as-detection-configure.patch Loading Loading
pkgs/development/compilers/gcc/patches/14/libgcc-darwin-detection.patch 0 → 100644 +12 −0 Original line number Diff line number Diff line diff -u a/libgcc/config.host b/libgcc/config.host --- a/libgcc/config.host 2023-11-05 11:01:55.778638446 -0500 +++ b/libgcc/config.host 2023-11-05 11:07:29.405103979 -0500 @@ -227,7 +227,7 @@ tmake_file="$tmake_file t-slibgcc-darwin" # newer toolsets produce warnings when building for unsupported versions. case ${host} in - *-*-darwin1[89]* | *-*-darwin2* ) + *-*-darwin1[89]* | *-*-darwin2* | *-*-darwin) tmake_file="t-darwin-min-8 $tmake_file" ;; *-*-darwin9* | *-*-darwin1[0-7]*)
pkgs/development/compilers/gcc/patches/default.nix +3 −0 Original line number Diff line number Diff line Loading @@ -127,6 +127,9 @@ in ## Darwin # Fixes detection of Darwin on x86_64-darwin. Otherwise, GCC uses a deployment target of 10.5, which crashes ld64. ++ optional (atLeast14 && stdenv.isDarwin && stdenv.isx86_64) ../patches/14/libgcc-darwin-detection.patch # Fix detection of bootstrap compiler Ada support (cctools as) on Nix Darwin ++ optional (atLeast12 && stdenv.isDarwin && langAda) ./ada-cctools-as-detection-configure.patch Loading