Skip to content

Commit

Permalink
Only use -Werror in validate
Browse files Browse the repository at this point in the history
Reverts a change that made `-Werror` be applied when building in tree Cabal, even when just developing.
Puts `-Werror` back in the `cabal.project.validate` validation project.

Fixes haskell#9866
  • Loading branch information
alt-romes authored and erikd committed Apr 21, 2024
1 parent 721d8ed commit e1deb17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cabal.project.validate
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ import: project-cabal/constraints.config

tests: True
write-ghc-environment-files: never
program-options
ghc-options: -Werror
2 changes: 1 addition & 1 deletion project-cabal/ghc-options.config
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
program-options
ghc-options: -fno-ignore-asserts -Werror
ghc-options: -fno-ignore-asserts

0 comments on commit e1deb17

Please sign in to comment.