Commit 79662d6
pythongh-132257: Remove -flto-partition=none for Linux LTO builds (pythonGH-132258)
Change the default LTO flags on GCC to not pass -flto-partition=none, and allow parallelization of LTO. This has a multiple factor speedup for LTO build times on GCC, with no noticeable loss in performance.
On newer make and newer GCC, this passes the jobserver automatically to GCC (or more like GCC grabs it from the env vars).
On older make, this will have benign warnings about serial compilation. It's safe to ignore them.
Signed-off-by: Michał Górny <[email protected]>1 parent df6385e commit 79662d6
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6716 | 6716 | | |
6717 | 6717 | | |
6718 | 6718 | | |
6719 | | - | |
| 6719 | + | |
6720 | 6720 | | |
6721 | 6721 | | |
6722 | 6722 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1430 | 1430 | | |
1431 | 1431 | | |
1432 | 1432 | | |
1433 | | - | |
| 1433 | + | |
1434 | 1434 | | |
1435 | 1435 | | |
1436 | 1436 | | |
| |||
0 commit comments