summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc/9
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-03-22 12:02:02 +0000
committerGitHub <noreply@github.com>2022-03-22 12:02:02 +0000
commite452d308f5c318e10309418f61d69a396a8a624b (patch)
tree01c238456ebb0c47ce9a183e8745fe4a196e05d7 /pkgs/development/compilers/gcc/9
parentc62314becb00868a0bb3d19d47fdbacc493926bd (diff)
parentb3073600d2b082cd6e8a9c0ed84096b6c7dc4aa4 (diff)
Merge staging-next into staging
Diffstat (limited to 'pkgs/development/compilers/gcc/9')
-rw-r--r--pkgs/development/compilers/gcc/9/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/gcc/9/default.nix b/pkgs/development/compilers/gcc/9/default.nix
index 62878cb6d8773..a96d16a6a502a 100644
--- a/pkgs/development/compilers/gcc/9/default.nix
+++ b/pkgs/development/compilers/gcc/9/default.nix
@@ -15,7 +15,7 @@
   # we can't rebuild those without also rebuilding the compiler itself,
   # we opt to always build everything unlike our usual policy.
   enableShared ? true
-, enableLTO ? true
+, enableLTO ? !stdenv.hostPlatform.isStatic
 , texinfo ? null
 , perl ? null # optional, for texi2pod (then pod2man)
 , gmp, mpfr, libmpc, gettext, which, patchelf