[PATCH] D39497: [scudo] Fix standlone build -lrt requirement
Kostya Kortchinsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 1 09:48:01 PDT 2017
cryptoad created this revision.
`cxx_flags` needs `-lrt` as well for the standalone build.
https://reviews.llvm.org/D39497
Files:
test/scudo/lit.cfg
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) + " "
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39497.121144.patch
Type: text/x-patch
Size: 450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171101/7dd02526/attachment.bin>
More information about the llvm-commits
mailing list