about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorKreitinnSoftware <80591934+KreitinnSoftware@users.noreply.github.com>2024-02-17 15:26:49 -0300
committerGitHub <noreply@github.com>2024-02-17 19:26:49 +0100
commit477e531af9497616d3dac31af0263692e8c43ba3 (patch)
tree87b61847d8804cfe805d377f5561eab68432ad04 /src
parent47b8e2a98330c7381f973007436ba7faa8de27ec (diff)
downloadbox64-477e531af9497616d3dac31af0263692e8c43ba3.tar.gz
box64-477e531af9497616d3dac31af0263692e8c43ba3.zip
[ANDROID] Fix Build When Compiling with NDK 26b, [CI] Download Basic Android Libs from 'termux-docker' and update NDK to 26b (#1270)
* [CI] Download Basic Android Libs from termux-docker for speed-up CI build

* [ANDROID] Fix 'SHT_CHECKSUM' error when compiling on NDK 26b

* [CI] Update NDK for 26b
Diffstat (limited to 'src')
-rw-r--r--src/elfs/elfload_dump.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/elfs/elfload_dump.c b/src/elfs/elfload_dump.c
index 4c9cf228..2a8189b5 100644
--- a/src/elfs/elfload_dump.c
+++ b/src/elfs/elfload_dump.c
@@ -9,6 +9,10 @@
 #include "elfload_dump.h"
 #include "elfloader_private.h"
 
+#ifndef SHT_CHECKSUM
+#define SHT_CHECKSUM 0x6ffffff8
+#endif
+
 const char* DumpSection(Elf64_Shdr *s, char* SST) {
     static char buff[400];
     switch (s->sh_type) {
@@ -45,9 +49,7 @@ const char* DumpSection(Elf64_Shdr *s, char* SST) {
         GO(SHT_GNU_ATTRIBUTES);
         GO(SHT_GNU_HASH);
         GO(SHT_GNU_LIBLIST);
-        #ifndef TERMUX
-          GO(SHT_CHECKSUM);
-        #endif
+        GO(SHT_CHECKSUM);
         GO(SHT_LOSUNW);
         //GO(SHT_SUNW_move);
         GO(SHT_SUNW_COMDAT);