summaryrefslogtreecommitdiff
path: root/test/scudo/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/scudo/lit.cfg')
-rw-r--r--test/scudo/lit.cfg6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/scudo/lit.cfg b/test/scudo/lit.cfg
index b0476303c..0fa44087e 100644
--- a/test/scudo/lit.cfg
+++ b/test/scudo/lit.cfg
@@ -19,12 +19,12 @@ config.suffixes = ['.c', '.cc', '.cpp']
# C flags.
c_flags = ([config.target_cflags] +
["-std=c++11",
- "-lrt",
- "-ldl",
"-pthread",
"-fPIE",
"-pie",
- "-O0"])
+ "-O0",
+ "-UNDEBUG",
+ "-Wl,--gc-sections"])
def build_invocation(compile_flags):
return " " + " ".join([config.clang] + compile_flags) + " "