Index: test/libcxx/test/target_info.py =================================================================== --- test/libcxx/test/target_info.py +++ test/libcxx/test/target_info.py @@ -179,8 +179,7 @@ flags += ['-lc'] if llvm_unwinder: flags += ['-lunwind', '-ldl'] - else: - flags += ['-lgcc_s', '-lgcc'] + flags += ['-lgcc_s', '-lgcc'] use_libatomic = self.full_config.get_lit_bool('use_libatomic', False) if use_libatomic: flags += ['-latomic']