diff options
Diffstat (limited to 'test/scudo/lit.cfg')
-rw-r--r-- | test/scudo/lit.cfg | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/test/scudo/lit.cfg b/test/scudo/lit.cfg index e2a4997dd..4eff2ce21 100644 --- a/test/scudo/lit.cfg +++ b/test/scudo/lit.cfg @@ -3,7 +3,7 @@ import os # Setup config name. -config.name = 'Scudo' +config.name = 'Scudo' + config.name_suffix # Setup source root. config.test_source_root = os.path.dirname(__file__) @@ -14,18 +14,19 @@ base_lib = os.path.join(config.compiler_rt_libdir, whole_archive = "-Wl,-whole-archive %s -Wl,-no-whole-archive " % base_lib # Test suffixes. -config.suffixes = ['.c', '.cc', '.cpp', '.m', '.mm', '.ll', '.test'] +config.suffixes = ['.c', '.cc', '.cpp'] # C flags. -c_flags = ["-std=c++11", +c_flags = ([config.target_cflags] + + ["-std=c++11", "-lstdc++", - "-ldl", "-lrt", - "-pthread", "-latomic", + "-ldl", + "-pthread", "-fPIE", "-pie", - "-O0"] + "-O0"]) def build_invocation(compile_flags): return " " + " ".join([config.clang] + compile_flags) + " " |