Merge "Add --sysroot /dev/null to musl compiles" am: e4c400bef5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1983627 Change-Id: I5e44525140e87cc7b58f7f8c53315a7459f3148c
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user