[SERVER-8463] Add support to SConscript for enabling/disabling link-time-optimization Created: 07/Feb/13 Updated: 11/Jul/16 Resolved: 23/Mar/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Currently, the build system provides no way to configure whether link-time-optimization (LTO) is enabled. It defaults to enabled for Windows builds, but no support is provided for enabling it for clang or gcc builds. The build system should offer a flag to control whether or not LTO should be used, and to set the appropriate compile and link flags as requested by the user. |
| Comments |
| Comment by auto [ 23/Mar/13 ] |
|
Author: {u'date': u'2013-03-04T22:06:17Z', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}Message: |