[UBsan] minimal unit tests removing OpenBSD spacial case
The OpenBSD driver now handles sanitisers with ld.lld automatically.
Reviewers: vitalybuka
@@ -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)) )
