Browse Source

Fixed building with the 16.1.4479499 Android toolchain

(cherry picked from commit b9d1c483b90e2a1c23053692e06d15f9dbd5fe99)
Sam Lantinga 1 year ago
parent
commit
5a62a4596e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Android.mk

+ 2 - 0
Android.mk

@@ -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