Merge "Export Minimal Runtime Flags" into main

This commit is contained in:
Trevor Radcliffe
2023-08-03 20:39:22 +00:00
committed by Gerrit Code Review

View File

@@ -407,6 +407,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.