[scudo] Fix standalone compiler-rt test breakage

Summary:
Apparently "test standalone compiler-rt" still requires -ldl and -lrt for
Scudo even with --gc-sections. I am not entirely sure why, so if anybody has
some input, feel free to chime in.

In the meantime, add again those two to fix the test.

Reviewers: kcc, alekseyshl

Reviewed By: kcc

Subscribers: Hahnfeld, dberris, llvm-commits

Differential Revision: https://reviews.llvm.org/D29527

llvm-svn: 294199
This commit is contained in:
Kostya Kortchinsky 2017-02-06 17:24:52 +00:00
parent cf4c90f3d3
commit 031d732a47
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ c_flags = ([config.target_cflags] +
"-pie",
"-O0",
"-UNDEBUG",
"-ldl",
"-lrt",
"-Wl,--gc-sections"])
def build_invocation(compile_flags):