Skip to content
Snippets Groups Projects
Commit de037e91 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Don't fail validate due to warnings in Cabal

Duncan says that Cabal isn't guaranteed to be warning-free.
parent 60030a88
No related merge requests found
......@@ -54,6 +54,11 @@ endif
######################################################################
# Disable some warnings in packages we use
# Cabal doesn't promise to be warning-free
utils/ghc-cabal_dist_EXTRA_HC_OPTS += -w
libraries/Cabal/cabal_dist-boot_EXTRA_HC_OPTS += -w
libraries/Cabal/cabal_dist-install_EXTRA_HC_OPTS += -w
# Temporarily turn off incomplete-pattern warnings for containers
libraries/containers_dist-install_EXTRA_HC_OPTS += -fno-warn-incomplete-patterns
......
......@@ -34,7 +34,8 @@ $(GHC_CABAL_DIR)/dist/build/tmp/ghc-cabal$(exeext): $(GHC_CABAL_DIR)/Main.hs | $
-hidir bootstrapping \
-ilibraries/Cabal/cabal \
-ilibraries/filepath \
-ilibraries/hpc
-ilibraries/hpc \
$(utils/ghc-cabal_dist_EXTRA_HC_OPTS)
touch $@
# touch is required, because otherwise if mkdirhier is newer, we
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment