Commits

Michael Gottesman committed db2126c139a
[lto][cmake] Do not access SWIFT_TOOLS_ENABLE_LTO directly in _add_variant_{c_compile,variant_link}_flags. Pass it in as an arg instead. This will allow control on the outside of these calls on whether or not LTO is enabled. This is necessary for turning off LTO on target libraries. rdar://24717107