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>
This commit is contained in:
parent
b9e1740c35
commit
8009488d7f
3
third_party/angle2/BUILD.gn
vendored
3
third_party/angle2/BUILD.gn
vendored
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user