aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-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",