Commit 00300562 authored by Klaus Aehlig's avatar Klaus Aehlig

Have fatal warnings on in developer mode

Unless you develop Ganeti, it is not a problem if some of
the functions used are deprecated in you newer haskell
environment. So allow those builds for normal users.
Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
parent 564a8e07
......@@ -613,10 +613,13 @@ HS_PROG_SRCS = $(patsubst %,%.hs,$(HS_DEFAULT_PROGS)) src/mon-collector.hs
HS_BUILT_TEST_HELPERS = $(HS_BIN_ROLES:%=test/hs/%) test/hs/hail
HFLAGS = \
-O -Wall -Werror -isrc \
-O -Wall -isrc \
-fwarn-monomorphism-restriction \
-fwarn-tabs \
$(GHC_BYVERSION_FLAGS)
if DEVELOPER_MODE
HFLAGS += -Werror
endif
# extra flags that can be overriden on the command line (e.g. -Wwarn, etc.)
HEXTRA =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment