Skip to content

Commit 188512c

Browse files
authored
Downgrade -Werror=undef to a warning -Wundef (#711)
1 parent ba8c37a commit 188512c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bytestring.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ library
150150
Data.ByteString.Utils.UnalignedAccess
151151

152152
ghc-options: -Wall -fwarn-tabs -Wincomplete-uni-patterns
153-
-optP-Wall -optP-Werror=undef
153+
-optP-Wall -optP-Wundef
154154
-O2
155155
-fmax-simplifier-iterations=10
156156
-fdicts-cheap
@@ -178,7 +178,7 @@ library
178178
-- DNDEBUG disables asserts in cbits/
179179
cc-options: -std=c11 -DNDEBUG=1
180180
-fno-strict-aliasing
181-
-Werror=undef
181+
-Wundef
182182

183183
-- No need to link to libgcc on ghc-9.4 and later which uses a clang-based
184184
-- toolchain.

0 commit comments

Comments
 (0)