[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: SERVER-8463 Make control of link time optimization explicit
Branch: master
https://github.com/mongodb/mongo/commit/1b2a4e07f24df4f2bed7ecf6857d312d2235dfb0

Generated at Thu Feb 08 03:17:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.