diff --git a/compiler-rt/test/fuzzer/lit.cfg.py b/compiler-rt/test/fuzzer/lit.cfg.py index 7066e6a1ef46..35265659c604 100644 --- a/compiler-rt/test/fuzzer/lit.cfg.py +++ b/compiler-rt/test/fuzzer/lit.cfg.py @@ -116,3 +116,6 @@ config.substitutions.append(('%env_asan_opts=', if not config.parallelism_group: config.parallelism_group = 'shadow-memory' + +if config.host_os == 'NetBSD': + config.substitutions.insert(0, ('%run', config.netbsd_noaslr_prefix))