Skip to content

Commit 355b48c

Browse files
committed
Only use -Werror in validate
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 #9866
1 parent e125959 commit 355b48c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

cabal.project.validate

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ import: project-cabal/constraints.config
55

66
tests: True
77
write-ghc-environment-files: never
8+
program-options
9+
ghc-options: -Werror

project-cabal/ghc-options.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
program-options
2-
ghc-options: -fno-ignore-asserts -Werror
2+
ghc-options: -fno-ignore-asserts

0 commit comments

Comments
 (0)