Matthieu Gautier
b1f7beef4f
Exclude libgcc and libunwind from linked libraries on Android.
...
As said in [1], unwinder is linked automatically by Clang and shared
library must not re-export it.
ndk after r23 (we are using r21) should be this. Else we must take care to
not re-export it.
From [2], we should pass the flags `Wl,--exclude-libs,libgcc.a` and
`-Wl,--exclude-libs,libunwind.a` to avoid re-export `_Unwind_Resume` methods.
Fix https://github.com/kiwix/kiwix-android/issues/3661
[1] https://android.googlesource.com/platform/ndk/+/master/docs/BuildSystemMaintainers.md#Unwinding
[2] https://github.com/android/ndk/issues/889#issuecomment-464334469
2024-06-04 15:12:40 +02:00
Matthieu Gautier
8832888aaa
Add almalinux as compatible host for native and aarch config
2024-06-03 10:43:37 +02:00
Matthieu Gautier
b880da6ca2
native_static is compatible with Darwin
2024-04-08 16:50:10 +02:00
Matthieu Gautier
6fbe60386e
Do not pollute stdout with warning and trace.
2024-04-08 16:50:10 +02:00
Matthieu Gautier
0c0eac69c4
Introduce arch_name to name build dir base on arch name instead of config.
2024-04-08 16:50:03 +02:00
Matthieu Gautier
c0ec9c44b8
Rename option `--target-platform` to `--config`
...
The target_platform option has always be wrongly named.
This is not the platform we are targeted but how we compile.
This was ok at beginning as specifying how we compile somehow define
for what we compile but this is not a one to one mapping.
2024-02-05 18:03:11 +01:00