From 65d2540807e77c2c4248513120c0591ce205f210 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 14 Jan 2015 17:40:24 -0800 Subject: [PATCH] Use C++11 stdlib --- common.gypi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common.gypi b/common.gypi index 68d9418f23e..1d656c2dadc 100644 --- a/common.gypi +++ b/common.gypi @@ -184,9 +184,7 @@ ], 'target_defaults': { 'cflags_cc': [ - # Use gnu++11 instead of c++11 here, see: - # https://code.google.com/p/chromium/issues/detail?id=224515 - '-std=gnu++11', + '-std=c++11', ], 'xcode_settings': { 'CC': '/usr/bin/clang', @@ -199,6 +197,8 @@ ], 'GCC_C_LANGUAGE_STANDARD': 'c99', # -std=c99 + 'CLANG_CXX_LIBRARY': 'libc++', # -stdlib=libc++ + 'CLANG_CXX_LANGUAGE_STANDARD': 'c++11', # -std=c++11 }, }, }], # clang==1