1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 00:12:29 +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 , StrictData
, TypeApplications , TypeApplications
if flag(release) 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 else
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -fno-warn-name-shadowing -O0 -j ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -fno-warn-name-shadowing -O0 -j
ghc-prof-options: -fprof-auto ghc-prof-options: -fprof-auto