mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 12:57:42 +00:00
[infra] Turn on C++14 in the compiler config
Change-Id: I1b059deee64cf653be14e4a908050f1ff9c53781 Reviewed-on: https://dart-review.googlesource.com/45682 Commit-Queue: Vyacheslav Egorov <vegorov@google.com> Reviewed-by: Zach Anderson <zra@google.com>
This commit is contained in:
parent
30a87ce3fa
commit
11c77930e0
|
@ -261,6 +261,16 @@ config("compiler") {
|
|||
cflags += [ "-fcolor-diagnostics" ]
|
||||
}
|
||||
|
||||
# C++14 compiler flags setup.
|
||||
# ---------------------------
|
||||
if (is_win) {
|
||||
cc_std = [ "/std:c++14" ]
|
||||
} else {
|
||||
cc_std = [ "-std=c++14" ]
|
||||
}
|
||||
cflags_cc += cc_std
|
||||
cflags_objcc += cc_std
|
||||
|
||||
# Android-specific flags setup.
|
||||
# -----------------------------
|
||||
if (is_android) {
|
||||
|
|
Loading…
Reference in a new issue