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

View File

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