Index: test/scudo/lit.cfg =================================================================== --- test/scudo/lit.cfg +++ test/scudo/lit.cfg @@ -33,6 +33,7 @@ # Android doesn't want -lrt. if not config.android: c_flags += ["-lrt"] + cxx_flags += ["-lrt"] def build_invocation(compile_flags): return " " + " ".join([config.compile_wrapper, config.clang] + compile_flags) + " "