diff options
Diffstat (limited to 'rust/config/global.go')
-rw-r--r-- | rust/config/global.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rust/config/global.go b/rust/config/global.go index ba085600b..03333b80c 100644 --- a/rust/config/global.go +++ b/rust/config/global.go @@ -53,6 +53,9 @@ var ( "--color=always", "-Z dylib-lto", "-Z link-native-libraries=no", + + // cfg flag to indicate that we are building in AOSP with Soong + "--cfg soong", } LinuxHostGlobalLinkFlags = []string{ |