1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00

set -Werror when building release

This commit is contained in:
Patrick Thomson 2018-05-22 17:37:54 -04:00
parent 88d7d19bb8
commit c1d3a041cc

View File

@ -226,7 +226,7 @@ library
, StrictData
, TypeApplications
if flag(release)
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -fno-warn-name-shadowing -O2 -j
ghc-options: -Wall -Werror -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -fno-warn-name-shadowing -O2 -j
else
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -fno-warn-name-shadowing -O0 -j
ghc-prof-options: -fprof-auto