[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:
Vyacheslav Egorov 2018-03-09 09:13:08 +00:00 committed by commit-bot@chromium.org
parent 30a87ce3fa
commit 11c77930e0

View file

@ -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) {