mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-28 22:20:43 +00:00
Get the LLVMC tests working with clang++ by removing the problematic CXXFLAG in lit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95318 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a74b126863
commit
66c439af28
@ -114,6 +114,11 @@ for sub in ['llvmgcc', 'llvmgxx', 'compile_cxx', 'compile_c',
|
|||||||
if sub in ('llvmgcc', 'llvmgxx'):
|
if sub in ('llvmgcc', 'llvmgxx'):
|
||||||
config.substitutions.append(('%' + sub,
|
config.substitutions.append(('%' + sub,
|
||||||
site_exp[sub] + ' -emit-llvm -w'))
|
site_exp[sub] + ' -emit-llvm -w'))
|
||||||
|
# FIXME: This is a hack to avoid LLVMC tests failing due to a clang driver
|
||||||
|
# warning when passing in "-fexceptions -fno-exceptions".
|
||||||
|
elif sub == 'compile_cxx':
|
||||||
|
config.substitutions.append(('%' + sub,
|
||||||
|
site_exp[sub].replace('-fno-exceptions', '')))
|
||||||
else:
|
else:
|
||||||
config.substitutions.append(('%' + sub, site_exp[sub]))
|
config.substitutions.append(('%' + sub, site_exp[sub]))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user