forked from OSchip/llvm-project
parent
a8b5558f9c
commit
4ecb6dd6ea
|
@ -217,8 +217,7 @@ class Configuration(object):
|
|||
def _configure_clang_cl(self, clang_path):
|
||||
assert self.cxx_is_clang_cl
|
||||
# FIXME: don't hardcode the target
|
||||
flags = ['-fms-compatibility-version=19.00',
|
||||
'--target=i686-unknown-windows']
|
||||
flags = ['--target=i686-pc-windows']
|
||||
compile_flags = []
|
||||
link_flags = ['-fuse-ld=lld']
|
||||
if 'INCLUDE' in os.environ:
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
// Disable the missing braces warning for this reason.
|
||||
#if defined(__GNUC__)
|
||||
#pragma GCC diagnostic ignored "-Wmissing-braces"
|
||||
#elif defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wmissing-braces"
|
||||
#endif
|
||||
|
||||
#endif // SUPPORT_DISABLE_MISSING_BRACES_WARNING_H
|
||||
|
|
Loading…
Reference in New Issue