summaryrefslogtreecommitdiff
path: root/compiler/ghc.mk
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2014-07-02 08:54:06 -0500
committerAustin Seipp <austin@well-typed.com>2014-07-02 08:54:06 -0500
commit423caa85db277a63df8c2aa071cada82d2181b6e (patch)
tree636272ccbf63134116d70b0253061cc72cd9419e /compiler/ghc.mk
parentb0316cdb10fbd9eaca7ede28c7bb3eb19f7766bf (diff)
downloadhaskell-423caa85db277a63df8c2aa071cada82d2181b6e.tar.gz
compiler/ghc.mk: restore GhcHcOpts variable handling (Trac #8787)
Summary: wiki and mk/config.mk.in suggests setting GhcHcOpts for compiler-wide haskell flags. But it does not work for a while now (broke around ca07d92837fc1e3ae9be67bb7d9e7f1b8035b00f) Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Test Plan: 'make' shows now ghc timing as it used to be Reviewers: simonmar, austin Reviewed By: austin Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D29
Diffstat (limited to 'compiler/ghc.mk')
-rw-r--r--compiler/ghc.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index 389543f387..c236bcf7ff 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -665,9 +665,9 @@ compiler_stage2_CONFIGURE_OPTS += --disable-library-for-ghci
compiler_stage3_CONFIGURE_OPTS += --disable-library-for-ghci
# after build-package, because that sets compiler_stage1_HC_OPTS:
-compiler_stage1_HC_OPTS += $(GhcStage1HcOpts)
-compiler_stage2_HC_OPTS += $(GhcStage2HcOpts)
-compiler_stage3_HC_OPTS += $(GhcStage3HcOpts)
+compiler_stage1_HC_OPTS += $(GhcHcOpts) $(GhcStage1HcOpts)
+compiler_stage2_HC_OPTS += $(GhcHcOpts) $(GhcStage2HcOpts)
+compiler_stage3_HC_OPTS += $(GhcHcOpts) $(GhcStage3HcOpts)
ifneq "$(BINDIST)" "YES"