mirror of
https://github.com/love2d/love-android.git
synced 2026-08-12 08:31:04 +02:00
Compile OpenAL-soft with hidden visibility by default.
This commit is contained in:
@@ -12,8 +12,8 @@ LOCAL_ARM_NEON := true
|
||||
#
|
||||
# Flags
|
||||
#
|
||||
LOCAL_CFLAGS := -std=c11 -DAL_ALEXT_PROTOTYPES -DHAVE_OBOE -DHAVE_OPENSL -DRESTRICT=__restrict
|
||||
LOCAL_CPPFLAGS := -std=c++14
|
||||
LOCAL_CFLAGS := -std=c11 -DAL_ALEXT_PROTOTYPES -DHAVE_OBOE -DHAVE_OPENSL -fvisibility=hidden
|
||||
LOCAL_CPPFLAGS := -std=c++14 -fvisibility-inlines-hidden
|
||||
LOCAL_CPP_FEATURES := exceptions
|
||||
|
||||
#
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* API declaration export attribute */
|
||||
#define AL_API __attribute__((visibility("protected")))
|
||||
#define ALC_API __attribute__((visibility("protected")))
|
||||
#define AL_API __attribute__((visibility("default")))
|
||||
#define ALC_API __attribute__((visibility("default")))
|
||||
|
||||
/* Define a restrict macro for non-aliased pointers */
|
||||
#define RESTRICT __restrict
|
||||
|
||||
Reference in New Issue
Block a user