diff options
Diffstat (limited to 'hadrian')
-rw-r--r-- | hadrian/src/Flavour.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/src/Flavour.hs b/hadrian/src/Flavour.hs index c84ffba545..9c28397b31 100644 --- a/hadrian/src/Flavour.hs +++ b/hadrian/src/Flavour.hs @@ -207,7 +207,7 @@ splitSections = splitSectionsIf (/=ghc) -- configure with @--disable-large-address-space@ when using this. enableThreadSanitizer :: Flavour -> Flavour enableThreadSanitizer = addArgs $ notStage0 ? mconcat - [ builder (Ghc CompileHs) ? arg "-optc-fsanitize=thread" + [ builder (Ghc CompileHs) ? (arg "-optc-fsanitize=thread" <> arg "-fcmm-thread-sanitizer") , builder (Ghc CompileCWithGhc) ? arg "-optc-fsanitize=thread" , builder (Ghc LinkHs) ? (arg "-optc-fsanitize=thread" <> arg "-optl-fsanitize=thread") , builder Cc ? arg "-fsanitize=thread" |