Add c++11 flag to gyp file

This commit is contained in:
Max Brunsfeld 2014-03-03 13:27:44 -08:00
parent 67e008d15d
commit 0815db1d23
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,7 @@
#!/usr/bin/env bash
set -e
make compiler_specs
out/Default/compiler_specs

View file

@ -49,10 +49,12 @@
},
],
'target_defaults': {
'cflags_cc': [
'-std=c++0x',
],
'xcode_settings': {
'ALWAYS_SEARCH_USER_PATHS': 'NO',
'CLANG_CXX_LANGUAGE_STANDARD': 'c++0x',
'CLANG_CXX_LIBRARY': 'libc++',
},
},
}