13
0

allow generic i386 builds with OSX/clang

This commit is contained in:
Robin Gareus 2014-12-18 10:25:39 +01:00
parent a45259b783
commit 09687c1712

View File

@ -100,6 +100,7 @@ clang_dict['silence-unused-arguments'] = '-Qunused-arguments'
clang_dict['extra-cxx-warnings'] = [ '-Woverloaded-virtual', '-Wno-mismatched-tags' ] clang_dict['extra-cxx-warnings'] = [ '-Woverloaded-virtual', '-Wno-mismatched-tags' ]
clang_dict['cxx-strict'] = [ '-ansi', '-Wnon-virtual-dtor', '-Woverloaded-virtual', '-fstrict-overflow' ] clang_dict['cxx-strict'] = [ '-ansi', '-Wnon-virtual-dtor', '-Woverloaded-virtual', '-fstrict-overflow' ]
clang_dict['strict'] = ['-Wall', '-Wcast-align', '-Wextra', '-Wwrite-strings' ] clang_dict['strict'] = ['-Wall', '-Wcast-align', '-Wextra', '-Wwrite-strings' ]
clang_dict['generic-x86'] = [ '-arch', 'i386' ]
compiler_flags_dictionaries['clang'] = clang_dict; compiler_flags_dictionaries['clang'] = clang_dict;
clang_darwin_dict = compiler_flags_dictionaries['clang'].copy(); clang_darwin_dict = compiler_flags_dictionaries['clang'].copy();