1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-23 17:31:08 +01:00

Merge pull request #14844 from corngood/cygwin-cross

packaging: disable LTO on cygwin
This commit is contained in:
John Ericson 2025-12-21 05:30:54 +00:00 committed by GitHub
commit f457245a9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -133,7 +133,7 @@ let
+
lib.optionalString
(
!stdenv.hostPlatform.isWindows
!(stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isCygwin)
# build failure
&& !stdenv.hostPlatform.isStatic
# LTO breaks exception handling on x86-64-darwin.