Android: Enable -funwind-tables when compiling, although it uses a little bit more space, I've had enough of tearing my hair out trying to debug android client crashes without a backtrace.

This commit is contained in:
UnknownShadow200 2021-03-16 23:53:31 +11:00
parent 4d1f8daa5a
commit 6cc0b5d80f

View File

@ -112,7 +112,7 @@ build_rpi() {
}
# ----------------------------- compile android
DROID_FLAGS="-fPIC -shared -s -O1 -fvisibility=hidden -rdynamic"
DROID_FLAGS="-fPIC -shared -s -O1 -fvisibility=hidden -rdynamic -funwind-tables"
DROID_LIBS="-lGLESv2 -lEGL -lm -landroid -llog"
NDK_ROOT="/home/buildbot/android/android-ndk-r22/toolchains/llvm/prebuilt/linux-x86_64/bin"
TOOLS_ROOT="/home/buildbot/android/sdk/build-tools/26.0.0"