Merge "add -nostdlibinc for arm64_linux_host"

This commit is contained in:
Treehugger Robot 2020-11-10 06:52:07 +00:00 committed by Gerrit Code Review
commit 8b16e407e2
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@ var (
// which stands for "Android device target". Keeping PIC on is required because
// many modules we have (e.g. Bionic) assume PIC.
"-fpic",
// This is normally in ClangExtraTargetCflags, but that's for device and we need
// the same for host
"-nostdlibinc",
))
linuxCrossLdflags = ClangFilterUnknownCflags([]string{