Fixed building with the 16.1.4479499 Android toolchain

(cherry picked from commit b9d1c483b90e2a1c23053692e06d15f9dbd5fe99)
main
Sam Lantinga 2023-06-03 23:55:56 -07:00
parent cf1dc66e2c
commit 5a62a4596e
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ LOCAL_CFLAGS += \
# Warnings we haven't fixed (yet)
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-sign-compare
LOCAL_CXXFLAGS += -std=gnu++11
LOCAL_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -lOpenSLES -llog -landroid
LOCAL_LDFLAGS := -Wl,--no-undefined -Wl,--version-script=$(LOCAL_PATH)/src/dynapi/SDL_dynapi.sym