Merge "Add --sysroot /dev/null to musl compiles" am: e4c400bef5 am: 69324f735d am: b5e24d257f

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

Change-Id: Id40f845a799bc1ed8fc565ed9c909946bacbf6d2
This commit is contained in:
Colin Cross
2022-02-17 00:40:40 +00:00
committed by Automerger Merge Worker

View File

@@ -47,6 +47,7 @@ var (
"-D_LIBCPP_HAS_MUSL_LIBC",
"-DANDROID_HOST_MUSL",
"-nostdlibinc",
"--sysroot /dev/null",
}
linuxLdflags = []string{
@@ -65,6 +66,7 @@ var (
linuxMuslLdflags = []string{
"-nostdlib",
"-lgcc", "-lgcc_eh",
"--sysroot /dev/null",
}
// Extended cflags