Commit 1785a09
committed
Silence warning about "using serial compilation"
On Ubuntu, one sees warnings like this:
```
lto-wrapper: warning: using serial compilation of 13 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more
information
lto-wrapper: warning: using serial compilation of 15 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more
information
lto-wrapper: warning: using serial compilation of 16 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more
information
lto-wrapper: warning: using serial compilation of 16 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more
information
```
This seems to be the default behavior if the option `-flto` is not
given a value (c.f. https://stackoverflow.com/a/72222512/28972686).
Giving it a value of "auto" makes the warning go away and lets the
compilation toolchain decide how much parallism it can use.1 parent e2c35ec commit 1785a09
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments