Commit 3d90d06a authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Add support for turnWarningsIntoErrors in Settings/User.hs.

parent 31d88906
...@@ -3,7 +3,7 @@ module Settings.User ( ...@@ -3,7 +3,7 @@ module Settings.User (
userProgramPath, userKnownPackages, integerLibrary, userProgramPath, userKnownPackages, integerLibrary,
trackBuildSystem, buildHaddock, validating, ghciWithDebugger, ghcProfiled, trackBuildSystem, buildHaddock, validating, ghciWithDebugger, ghcProfiled,
ghcDebugged, dynamicGhcPrograms, laxDependencies, buildSystemConfigFile, ghcDebugged, dynamicGhcPrograms, laxDependencies, buildSystemConfigFile,
verboseCommands verboseCommands, turnWarningsIntoErrors
) where ) where
import Expression import Expression
...@@ -88,3 +88,7 @@ buildSystemConfigFile = False ...@@ -88,3 +88,7 @@ buildSystemConfigFile = False
-- only, e.g.: verboseCommands = package ghcPrim -- only, e.g.: verboseCommands = package ghcPrim
verboseCommands :: Predicate verboseCommands :: Predicate
verboseCommands = return False verboseCommands = return False
-- | To enable -Werror in Stage2 set turnWarningsIntoErrors = stage2.
turnWarningsIntoErrors :: Predicate
turnWarningsIntoErrors = return False
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment