From 6cc0b5d80f8e02b44a49d3960155c8fd36034781 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Tue, 16 Mar 2021 23:53:31 +1100 Subject: [PATCH] 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. --- misc/buildbot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/buildbot.sh b/misc/buildbot.sh index c53beb0e8..c967da1f3 100644 --- a/misc/buildbot.sh +++ b/misc/buildbot.sh @@ -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"