assume c++11
clang didn't like static members in anonymous structures, gave them names WriteEvent template wouldn't resolve for temporary values without const decl in clang added a few missing headers added -fno-operator-names for xbyak compilation under gcc/clang
This commit is contained in:
18
xenia.gyp
18
xenia.gyp
@@ -96,7 +96,7 @@
|
||||
'SYMROOT': '<(DEPTH)/build/xenia/',
|
||||
'ALWAYS_SEARCH_USER_PATHS': 'NO',
|
||||
'ARCHS': ['x86_64'],
|
||||
#'CLANG_CXX_LANGUAGE_STANDARD': 'c++0x',
|
||||
'CLANG_CXX_LANGUAGE_STANDARD': 'c++11',
|
||||
'COMBINE_HIDPI_IMAGES': 'YES',
|
||||
'GCC_C_LANGUAGE_STANDARD': 'gnu99',
|
||||
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES',
|
||||
@@ -190,6 +190,22 @@
|
||||
'gflags',
|
||||
'llvm',
|
||||
],
|
||||
|
||||
'conditions': [
|
||||
['OS == "mac"', {
|
||||
'xcode_settings': {
|
||||
'OTHER_CFLAGS': [
|
||||
'-fno-operator-names',
|
||||
],
|
||||
},
|
||||
}],
|
||||
['OS == "linux"', {
|
||||
'cflags': [
|
||||
'-fno-operator-names',
|
||||
],
|
||||
}],
|
||||
],
|
||||
|
||||
'export_dependent_settings': [
|
||||
'beaengine',
|
||||
'gflags',
|
||||
|
||||
Reference in New Issue
Block a user