aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/Android.mk
diff options
context:
space:
mode:
authorKai Wasserbäch <[email protected]>2019-08-17 10:59:43 +0200
committerDave Airlie <[email protected]>2019-08-20 05:39:19 +0000
commit1abe87383e1529a14498d70a0cf445728b9c338d (patch)
treefaa347aadfdd04dbbf513d77dc66412453d8d8fc /src/gallium/auxiliary/Android.mk
parentd0ec5d38f6cff2e61d9e526423c0a016cc830d14 (diff)
build: Bump C++ standard requirement to C++14 to fix FTBFS with LLVM 10
When building Mesa against a recent LLVM 10 with C++11, the build fails if the AMD common code is built as well due to "std::index_sequence" being undeclared. LLVM requires a minimum of C++14. Signed-off-by: Kai Wasserbäch <[email protected]> Acked-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/Android.mk')
-rw-r--r--src/gallium/auxiliary/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/Android.mk b/src/gallium/auxiliary/Android.mk
index fe976501451..a2d5fa60da4 100644
--- a/src/gallium/auxiliary/Android.mk
+++ b/src/gallium/auxiliary/Android.mk
@@ -48,7 +48,7 @@ LOCAL_SRC_FILES += \
$(call mesa-build-with-llvm)
endif
-LOCAL_CPPFLAGS += -std=c++11
+LOCAL_CPPFLAGS += -std=c++14
# We need libmesa_nir to get NIR's generated include directories.
LOCAL_MODULE := libmesa_gallium