Commit ccfa386
committed
Make LTO opt-in by default instead of opt-out
LTO has caused problems to a few users (see issues linked at the
bottom).
The problem is the runtime is built as a static library by default
unless otherwise specified via CMake flags, and also LTO is enabled by
default. Those two things combined means the user must turn on LTO when
they build their application if they're using GCC.
Since we don't have evidence that LTO is making a substantial difference
in the runtime, it seems prudent to leave the option but turn if off by
default.
Issues where this has been reported:
awslabs#151
awslabs#1281 parent 9e2c1a3 commit ccfa386
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments