Export Minimal Runtime Flags

Bug: 294219797
Test: Unit Tests
Change-Id: Ia6a617378ccecb01bda4951d223b6c99d6c75060
This commit is contained in:
Trevor Radcliffe
2023-08-02 15:41:50 +00:00
parent a263005e30
commit 3876c5a143

View File

@@ -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.