Add elf alignment check for Android artifacts (#13818)

This commit is contained in:
Matthew Zavislak
2025-08-28 16:31:03 -07:00
committed by GitHub
parent 2734248544
commit 4f11feb708
4 changed files with 141 additions and 23 deletions

View File

@@ -561,6 +561,10 @@ def spec_to_job(spec: JobSpec, key: str, trackmem_symbol_names: bool) -> JobDeta
"testmultiaudio-apk",
"testsprite-apk",
]
# -fPIC is required after updating NDK from 21 to 28
job.cflags.append("-fPIC")
job.cxxflags.append("-fPIC")
case SdlPlatform.Emscripten:
job.clang_tidy = False # clang-tidy does not understand -gsource-map
job.shared = False