diff --git a/scripts/build/build/targets.py b/scripts/build/build/targets.py index 6073ffc8aeac6b..904dd81e0d063f 100755 --- a/scripts/build/build/targets.py +++ b/scripts/build/build/targets.py @@ -68,7 +68,7 @@ def BuildHostFakeTarget(): target.AppendModifier("asan", use_asan=True).ExceptIfRe("-tsan") target.AppendModifier("tsan", use_tsan=True).ExceptIfRe("-asan") target.AppendModifier("ubsan", use_ubsan=True) - target.AppendModifier("libfuzzer", use_tsan=True).OnlyIfRe("-clang") + target.AppendModifier("libfuzzer", use_libfuzzer=True).OnlyIfRe("-clang") target.AppendModifier('coverage', use_coverage=True).OnlyIfRe('-(chip-tool|all-clusters)') target.AppendModifier('dmalloc', use_dmalloc=True) target.AppendModifier('clang', use_clang=True) @@ -140,7 +140,7 @@ def BuildHostTarget(): target.AppendModifier("asan", use_asan=True).ExceptIfRe("-tsan") target.AppendModifier("tsan", use_tsan=True).ExceptIfRe("-asan") target.AppendModifier("ubsan", use_ubsan=True) - target.AppendModifier("libfuzzer", use_tsan=True).OnlyIfRe("-clang") + target.AppendModifier("libfuzzer", use_libfuzzer=True).OnlyIfRe("-clang") target.AppendModifier('coverage', use_coverage=True).OnlyIfRe('-(chip-tool|all-clusters)') target.AppendModifier('dmalloc', use_dmalloc=True) target.AppendModifier('clang', use_clang=True)