From b9d1c483b90e2a1c23053692e06d15f9dbd5fe99 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 3 Jun 2023 23:55:56 -0700
Subject: [PATCH] Fixed building with the 16.1.4479499 Android toolchain
---
Android.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Android.mk b/Android.mk
index facc54afb7ef..9c9a160027f6 100644
--- a/Android.mk
+++ b/Android.mk
@@ -63,7 +63,6 @@ LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES
LOCAL_CFLAGS += \
-Wall -Wextra \
-Wdocumentation \
- -Wdocumentation-unknown-command \
-Wmissing-prototypes \
-Wunreachable-code-break \
-Wunneeded-internal-declaration \
@@ -78,6 +77,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