summaryrefslogtreecommitdiff
path: root/utils/ghc-cabal
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2016-09-02 18:04:03 +0100
committerSergei Trofimovich <siarheit@google.com>2016-09-02 18:04:03 +0100
commit133a5cc6647a2ea5a63b8d81f9f357f89cb541ef (patch)
tree9fb87ec0be153000c1f5bb5e7a36cd173b4a8966 /utils/ghc-cabal
parent33d3527b7c6578bcb6dfa4d0657d0333de36d2df (diff)
downloadhaskell-133a5cc6647a2ea5a63b8d81f9f357f89cb541ef.tar.gz
ghc-cabal: accept EXTRA_HC_OPTS make variable
Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'utils/ghc-cabal')
-rw-r--r--utils/ghc-cabal/ghc.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/ghc-cabal/ghc.mk b/utils/ghc-cabal/ghc.mk
index 62338eeb25..38f7951633 100644
--- a/utils/ghc-cabal/ghc.mk
+++ b/utils/ghc-cabal/ghc.mk
@@ -63,7 +63,8 @@ $(ghc-cabal_DIST_BINARY): utils/ghc-cabal/Main.hs $(TOUCH_DEP) | $$(dir $$@)/. b
-ilibraries/binary/src -DGENERICS \
-ilibraries/filepath \
-ilibraries/hpc \
- $(utils/ghc-cabal_dist_EXTRA_HC_OPTS)
+ $(utils/ghc-cabal_dist_EXTRA_HC_OPTS) \
+ $(EXTRA_HC_OPTS)
"$(TOUCH_CMD)" $@
endif