diff --git a/compiler-rt/test/fuzzer/lit.cfg.py b/compiler-rt/test/fuzzer/lit.cfg.py index 1689f53d0b02..8cb731af2431 100644 --- a/compiler-rt/test/fuzzer/lit.cfg.py +++ b/compiler-rt/test/fuzzer/lit.cfg.py @@ -70,7 +70,7 @@ config.substitutions.append(("%python", '"%s"' % (sys.executable))) def generate_compiler_cmd(is_cpp=True, fuzzer_enabled=True, msan_enabled=False): compiler_cmd = config.clang - extra_cmd = config.target_flags + extra_cmd = "" if is_cpp: std_cmd = "--driver-mode=g++" diff --git a/compiler-rt/test/fuzzer/lit.site.cfg.py.in b/compiler-rt/test/fuzzer/lit.site.cfg.py.in index 3521b051b89d..9ccef3384135 100644 --- a/compiler-rt/test/fuzzer/lit.site.cfg.py.in +++ b/compiler-rt/test/fuzzer/lit.site.cfg.py.in @@ -1,7 +1,7 @@ @LIT_SITE_CFG_IN_HEADER@ config.cpp_compiler = "@LIBFUZZER_TEST_COMPILER@" -config.target_flags = "@LIBFUZZER_TEST_FLAGS@" +config.target_cflags = "@LIBFUZZER_TEST_FLAGS@" config.c_compiler = "@LIBFUZZER_TEST_COMPILER@" config.stdlib = "@LIBFUZZER_TEST_STDLIB@" config.apple_platform = "@LIBFUZZER_TEST_APPLE_PLATFORM@"