Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / nuitka / darwin-lto.patch
blobbd3a659054980774c4ecd6971221e3d220cc0fce
1 diff --git a/nuitka/build/SconsCompilerSettings.py b/nuitka/build/SconsCompilerSettings.py
2 index 319b72c4e..89d40f2a2 100644
3 --- a/nuitka/build/SconsCompilerSettings.py
4 +++ b/nuitka/build/SconsCompilerSettings.py
5 @@ -173,8 +173,8 @@ def _enableLtoSettings(
6 lto_mode = False
7 reason = "known to be not supported (CondaCC)"
8 elif isMacOS() and env.gcc_mode and env.clang_mode:
9 - lto_mode = True
10 - reason = "known to be supported (macOS clang)"
11 + lto_mode = False
12 + reason = "known to not be supported (macOS nix clang)"
13 elif env.mingw_mode and env.clang_mode:
14 lto_mode = False
15 reason = "known to not be supported (new MinGW64 Clang)"