diff options
Diffstat (limited to 'compiler_wrapper/compiler_wrapper.go')
-rw-r--r-- | compiler_wrapper/compiler_wrapper.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler_wrapper/compiler_wrapper.go b/compiler_wrapper/compiler_wrapper.go index f47b09c9..21a308b8 100644 --- a/compiler_wrapper/compiler_wrapper.go +++ b/compiler_wrapper/compiler_wrapper.go @@ -149,7 +149,7 @@ func callCompilerInternal(env env, cfg *config, inputCmd *command) (exitCode int compilerCmd = removeRusageFromCommand(compilerCmd) } - if shouldForceDisableWerror(env, cfg) { + if shouldForceDisableWerror(env, cfg, mainBuilder.target.compilerType) { if bisectStage != "" { return 0, newUserErrorf("BISECT_STAGE is meaningless with FORCE_DISABLE_WERROR") } |