Loading cc/sanitize.go +2 −0 Original line number Diff line number Diff line Loading @@ -411,6 +411,8 @@ func init() { exportedVars.ExportStringListStaticVariable("HostOnlySanitizeFlags", hostOnlySanitizeFlags) exportedVars.ExportStringList("DeviceOnlySanitizeFlags", deviceOnlySanitizeFlags) exportedVars.ExportStringList("MinimalRuntimeFlags", minimalRuntimeFlags) // Leave out "-flto" from the slices exported to bazel, as we will use the // dedicated LTO feature for this. For C Flags and Linker Flags, also leave // out the cross DSO flag which will be added separately under the correct conditions. Loading Loading
cc/sanitize.go +2 −0 Original line number Diff line number Diff line Loading @@ -411,6 +411,8 @@ func init() { exportedVars.ExportStringListStaticVariable("HostOnlySanitizeFlags", hostOnlySanitizeFlags) exportedVars.ExportStringList("DeviceOnlySanitizeFlags", deviceOnlySanitizeFlags) exportedVars.ExportStringList("MinimalRuntimeFlags", minimalRuntimeFlags) // Leave out "-flto" from the slices exported to bazel, as we will use the // dedicated LTO feature for this. For C Flags and Linker Flags, also leave // out the cross DSO flag which will be added separately under the correct conditions. Loading