From 75d03e24621388558d5724085096277fba361b98 Mon Sep 17 00:00:00 2001 From: Dana Dahlstrom Date: Sat, 4 Nov 2023 11:00:00 -0700 Subject: [PATCH] Use -std=gnu++17 in mac GN configuration b/288332442 --- starboard/build/config/mac/BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/starboard/build/config/mac/BUILD.gn b/starboard/build/config/mac/BUILD.gn index c968be705b830..c69eaf2a32f40 100644 --- a/starboard/build/config/mac/BUILD.gn +++ b/starboard/build/config/mac/BUILD.gn @@ -43,8 +43,8 @@ config("host") { config("common") { arflags = [ "-no_warning_for_no_symbols" ] - cflags_cc = [ "-std=gnu++14" ] - cflags_objcc = [ "-std=gnu++14" ] + cflags_cc = [ "-std=gnu++17" ] + cflags_objcc = [ "-std=gnu++17" ] cflags = [ "-fno-common" ] asmflags = [ "-fno-common" ] ldflags = [ "-fno-common" ]