Add elf alignment check for Android artifacts (#13818)

(cherry picked from commit 4f11feb708)
This commit is contained in:
Matthew Zavislak authored and Sam Lantinga committed 2025-08-28 16:31:25 -07:00
1 parent b2689ff76a
commit 0204a69f6b
4 files changed
+141 -23

No files matched your search

+4
View File
@@ -554,6 +554,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