Fix standalone build on Linux and Mac.
authorJohn Abd-El-Malek <jam@chromium.org>
Thu, 16 Oct 2014 21:26:18 +0000 (14:26 -0700)
committerJohn Abd-El-Malek <jam@chromium.org>
Thu, 16 Oct 2014 21:26:18 +0000 (14:26 -0700)
BUG=423883
R=scottmg@chromium.org

Review URL: https://codereview.chromium.org/663633002

build/standalone.gypi

index 5a65fa5..d335f05 100644 (file)
       '-Wall',
       '-W',
       '-Wno-unused-parameter',
-      '-pthread', '-fno-exceptions',
+      '-pthread',
+      '-fno-exceptions',
       '-fvisibility=hidden',
+      '-std=gnu++0x',
     ],
     'cflags_cc': [
       '-Wnon-virtual-dtor',
     },
     'xcode_settings': {
       'ALWAYS_SEARCH_USER_PATHS': 'NO',
+      'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++11',
       'GCC_CW_ASM_SYNTAX': 'NO',                # No -fasm-blocks
       'GCC_DYNAMIC_NO_PIC': 'NO',               # No -mdynamic-no-pic
                                                 # (Equivalent to -fPIC)