aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/angle2
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-08-18 11:44:28 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-18 16:22:59 +0000
commit8009488d7f322dd43601b0ba273e3db62a2aaadd (patch)
treeb7dfdf0830d536cb5b02108358d57be3f543e0d8 /third_party/angle2
parentb9e1740c353bb11bb33c7f06d2cd257820163efc (diff)
build ANGLE with c++14 on Linux.
Change-Id: Ia2cb5da2df380b02b81afb99a94ca48a93c5349d Reviewed-on: https://skia-review.googlesource.com/36420 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'third_party/angle2')
-rw-r--r--third_party/angle2/BUILD.gn3
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/angle2/BUILD.gn b/third_party/angle2/BUILD.gn
index 8f7e1b67bf..88bad29434 100644
--- a/third_party/angle2/BUILD.gn
+++ b/third_party/angle2/BUILD.gn
@@ -44,7 +44,7 @@ config("common") {
"$angle_root/src/common/third_party/base",
"$angle_root/src/third_party/khronos",
]
-
+ cflags_cc = []
assert(is_linux || is_win) # TODO: is_mac?
if (is_linux) {
defines += [
@@ -52,6 +52,7 @@ config("common") {
"GL_APICALL=__attribute__((visibility(\"default\")))",
"EGLAPI=__attribute__((visibility(\"default\")))",
]
+ cflags_cc += [ "-std=c++14" ]
} else if (is_win) {
defines += [
"ANGLE_ENABLE_D3D11",