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:
parent
88d7d19bb8
commit
c1d3a041cc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user