From c1848484e1d2408076758073e5ae28689dbf01ef Mon Sep 17 00:00:00 2001 From: Patrick Linehan Date: Mon, 14 Mar 2016 14:52:00 -0400 Subject: [PATCH] sample_app: enable C++11 for Android builds Also add the -D__STDC_LIMIT_MACROS definition as we rely on UINTPTR_MAX. Review URL: https://codereview.chromium.org/1801913002/ --- android/sample_app/jni/Application.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/android/sample_app/jni/Application.mk b/android/sample_app/jni/Application.mk index 366ce29f..9728017d 100644 --- a/android/sample_app/jni/Application.mk +++ b/android/sample_app/jni/Application.mk @@ -29,3 +29,4 @@ APP_STL := stlport_static APP_ABI := all +APP_CXXFLAGS := -std=c++11 -D__STDC_LIMIT_MACROS