mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Compile native library with -fvisibility=hidden
This avoids exposing the symbols of the used libraries like SQLite3 and reduces the library size.
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@
|
||||
set -e
|
||||
echo "starting time: `date`"
|
||||
|
||||
export CFLAGS="-fno-unwind-tables -fno-exceptions -fno-asynchronous-unwind-tables -fomit-frame-pointer"
|
||||
export CFLAGS="-fno-unwind-tables -fno-exceptions -fno-asynchronous-unwind-tables -fomit-frame-pointer -fvisibility=hidden"
|
||||
|
||||
: "${ANDROID_NDK_ROOT:=$ANDROID_NDK_HOME}"
|
||||
: "${ANDROID_NDK_ROOT:=$ANDROID_NDK}"
|
||||
|
||||
Reference in New Issue
Block a user