Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8463

Add support to SConscript for enabling/disabling link-time-optimization

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.0
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None

      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.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: