diff --git a/compiler-rt/test/ubsan_minimal/lit.common.cfg b/compiler-rt/test/ubsan_minimal/lit.common.cfg index 7630b617f347..a436a315f0a6 100644 --- a/compiler-rt/test/ubsan_minimal/lit.common.cfg +++ b/compiler-rt/test/ubsan_minimal/lit.common.cfg @@ -22,12 +22,6 @@ target_cflags = [get_required_attr(config, "target_cflags")] clang_ubsan_cflags = ["-fsanitize-minimal-runtime"] + target_cflags clang_ubsan_cxxflags = config.cxx_mode_flags + clang_ubsan_cflags -# OpenBSD needs lld linker to function -# TODO update the frontend driver -if config.host_os == 'OpenBSD': - clang_ubsan_cflags.append("-fuse-ld=lld") - clang_ubsan_cxxflags.append("-fuse-ld=lld") - # Define %clang and %clangxx substitutions to use in test RUN lines. config.substitutions.append( ("%clang ", build_invocation(clang_ubsan_cflags)) ) config.substitutions.append( ("%clangxx ", build_invocation(clang_ubsan_cxxflags)) )