Always build 64-bit on macOS

This commit is contained in:
Max Brunsfeld 2018-10-03 21:37:48 -07:00
parent e65403930f
commit 5fdbb2483d
2 changed files with 7 additions and 0 deletions

View file

@ -124,6 +124,7 @@
'cflags': [ '-g' ],
'ldflags': [ '-g' ],
'xcode_settings': {
'ARCHS': ['x86_64'],
'OTHER_LDFLAGS': ['-g'],
'GCC_OPTIMIZATION_LEVEL': '0',
},
@ -133,6 +134,7 @@
'cflags': [ '-g' ],
'ldflags': [ '-g' ],
'xcode_settings': {
'ARCHS': ['x86_64'],
'OTHER_LDFLAGS': ['-g'],
'GCC_OPTIMIZATION_LEVEL': '0',
'OTHER_CPLUSPLUSFLAGS': ['-fsanitize=address'],
@ -145,6 +147,9 @@
'Release': {
'cflags': [ '-O2', '-fno-strict-aliasing' ],
'cflags!': [ '-O3', '-fstrict-aliasing' ],
'xcode_settings': {
'ARCHS': ['x86_64'],
},
},
},

View file

@ -83,6 +83,7 @@
],
'ldflags': ['-g'],
'xcode_settings': {
'ARCHS': ['x86_64'],
'OTHER_LDFLAGS': ['-g'],
'OTHER_CPLUSPLUSFLAGS': ['-fsanitize=address'],
'GCC_OPTIMIZATION_LEVEL': '0',
@ -104,6 +105,7 @@
}]
],
'xcode_settings': {
'ARCHS': ['x86_64'],
'CLANG_CXX_LANGUAGE_STANDARD': 'c++14',
'ALWAYS_SEARCH_USER_PATHS': 'NO',
}