diff --git a/test/lit.cfg b/test/lit.cfg index b07046b4..aa454397 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -234,7 +234,7 @@ link_flags_str = lit_config.params.get('link_flags', None) if link_flags_str is None: link_flags_str = getattr(config, 'link_flags', None) if link_flags_str is None: - cxx_abi = getattr(config, 'cxx_abi', None) + cxx_abi = getattr(config, 'cxx_abi', 'libcxxabi') if cxx_abi == 'libstdc++': link_flags += ['-lstdc++'] elif cxx_abi == 'libsupc++':