Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tobias Decking
GHC
Commits
8a2b4cfc
Commit
8a2b4cfc
authored
Sep 10, 2009
by
Simon Marlow
Browse files
binary has unused-import warnings
parent
930421d4
Changes
3
Hide whitespace changes
Inline
Side-by-side
ghc.mk
View file @
8a2b4cfc
...
...
@@ -661,7 +661,7 @@ $(ghc_stage1_depfile) : $(compiler_stage1_v_LIB)
#
# If you miss any out here, then 'make -j8' will probably tell you.
#
libraries/bin-package-db/dist-boot/build/Distribution/InstalledPackageInfo/Binary.$(v_osuf)
:
libraries/binary/dist-boot/build/Data/Binary.$(v_hisuf)
libraries/bin-package-db/dist-boot/build/Distribution/InstalledPackageInfo/Binary.$(v_osuf)
:
libraries/binary/dist-boot/build/Data/Binary.$(v_hisuf)
libraries/Cabal/dist-boot/build/Distribution/InstalledPackageInfo.$(v_hisuf)
$(foreach
pkg,$(BOOT_PKGS),$(eval
libraries/
$(pkg)_dist-boot_HC_OPTS
+=
$
$(GhcBootLibHcOpts)
))
...
...
mk/validate-settings.mk
View file @
8a2b4cfc
...
...
@@ -35,3 +35,6 @@ libraries/time_dist-install_EXTRA_HC_OPTS += -fno-warn-unused-do-bind
# On Windows, there are also some unused import warnings
libraries/
time_dist-install_EXTRA_HC_OPTS
+=
-fno-warn-unused-imports
# Temporarily turn off unused-import warnings for the binary package
libraries/
binary_dist-boot_EXTRA_HC_OPTS
+=
-fno-warn-unused-imports
libraries/
binary_dist-install_EXTRA_HC_OPTS
+=
-fno-warn-unused-imports
utils/ghc-pkg/ghc.mk
View file @
8a2b4cfc
...
...
@@ -46,11 +46,12 @@ endif
endif
# depend on ghc-cabal, otherwise we build Cabal twice when building in parallel
# The binary package is not warning-clean, so we need a few -fno-warns here.
utils/ghc-pkg/dist/build/$(utils/ghc-pkg_dist_PROG)$(exeext)
:
utils/ghc-pkg/Main.hs utils/ghc-pkg/Version.hs $(GHC_CABAL_INPLACE) $(MKDIRHIER)
"
$(MKDIRHIER)
"
bootstrapping
"
$(MKDIRHIER)
"
utils/ghc-pkg/dist/build
"
$(GHC)
"
$(SRC_HC_OPTS)
--make
utils/ghc-pkg/Main.hs
-o
$@
\
-Wall
\
-Wall
-fno-warn-unused-imports
\
-DCABAL_VERSION
=
$(CABAL_VERSION)
\
-odir
bootstrapping
\
-hidir
bootstrapping
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment