From 53c1c7714480e1dfaf680799948b08cf3f76cf81 Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Sat, 23 Apr 2022 21:59:54 +0200 Subject: [PATCH] [Overlays/Optimizations] Do not use lto by default --- packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages.nix b/packages.nix index ba715f1..01b27d3 100644 --- a/packages.nix +++ b/packages.nix @@ -30,7 +30,7 @@ in "-fno-asynchronous-unwind-tables" # Fat LTO objects are object files that contain both the intermediate language and the object code. This makes them usable for both LTO linking and normal linking. - "-flto=auto" # Use -flto=auto to use GNU make’s job server, if available, or otherwise fall back to autodetection of the number of CPU threads present in your system. + # "-flto=auto" # Use -flto=auto to use GNU make’s job server, if available, or otherwise fall back to autodetection of the number of CPU threads present in your system. "-ffat-lto-objects" # Math optimizations leading to loss of precision