Hide symbol visibility in CMake and Android.mk.

This commit is contained in:
Miku AuahDark
2023-01-01 15:16:26 +08:00
parent 3a49dc555a
commit 0b0ff5551f
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -2,9 +2,9 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := liblove
LOCAL_CFLAGS := -g -DGL_GLEXT_PROTOTYPES -DAL_ALEXT_PROTOTYPES
LOCAL_CPPFLAGS := ${LOCAL_CFLAGS}
LOCAL_CFLAGS := -g -DGL_GLEXT_PROTOTYPES -DAL_ALEXT_PROTOTYPES -fvisibility=hidden
LOCAL_CPPFLAGS := -fvisibility-inlines-hidden
# I don't think there's armeabi-v7a device without NEON instructions in 2018
LOCAL_ARM_NEON := true