Enable c++17 on linux

This commit is contained in:
Alexander David Frick 2021-12-04 20:22:50 -06:00 committed by GitHub
parent ffdccfdb63
commit 84be9561ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -587,9 +587,7 @@ config("compiler") {
cflags_c += [ "-std=${standard_prefix}11" ]
# TODO(https://crbug.com/1273966): Use C++17 with is_cfi and is_linux once
# CFI works with -std=c++17.
if ((is_nacl && !is_nacl_saigo) || is_cfi || is_linux) {
if ((is_nacl && !is_nacl_saigo) {
# This is for the pnacl_newlib toolchain. It's only used to build
# a few independent ppapi test files that don't pull in any other
# dependencies.