diff --git a/libc/Android.bp b/libc/Android.bp index a502de545..4932e611d 100644 --- a/libc/Android.bp +++ b/libc/Android.bp @@ -2126,7 +2126,10 @@ cc_object { cc_object { name: "crtend_so", - local_include_dirs: ["include"], + local_include_dirs: [ + "include", + "private", // crtend_so.S depends on private/bionic_asm_arm64.h + ], srcs: ["arch-common/bionic/crtend_so.S"], defaults: ["crt_so_defaults"], @@ -2181,7 +2184,10 @@ cc_object { // We rename crtend.o to crtend_android.o to avoid a // name clash between gcc and bionic. name: "crtend_android", - local_include_dirs: ["include"], + local_include_dirs: [ + "include", + "private", // crtend.S depends on private/bionic_asm_arm64.h + ], srcs: ["arch-common/bionic/crtend.S"], defaults: ["crt_defaults"],