Skip to content

Commit

Permalink
gold only on linux, !android, !musl (#1875)
Browse files Browse the repository at this point in the history
We should not enable gold on aarch32 for every target platform. I believe the target platform gates are enough.
  • Loading branch information
angerman authored Mar 16, 2023
1 parent af6be5d commit fce554b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/ghc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ let self =
# use gold as the linker on linux to improve link times
# do not use it on musl due to a ld.gold bug. See: <https://sourceware.org/bugzilla/show_bug.cgi?id=22266>.
(stdenv.targetPlatform.isLinux && !stdenv.targetPlatform.isAndroid && !stdenv.targetPlatform.isMusl)
|| stdenv.targetPlatform.isAarch32

, ghc-version ? src-spec.version
, ghc-version-date ? null
Expand Down

0 comments on commit fce554b

Please sign in to comment.