Merge "add -nostdlibinc for arm64_linux_host" am: 8b16e407e2

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1493896

Change-Id: Ifd8fecebfd8e3af04c015e5481103dcb82df76eb
This commit is contained in:
Treehugger Robot
2020-11-10 07:13:01 +00:00
committed by Automerger Merge Worker

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{