[commit: ghc] master: ghc-cabal: accept EXTRA_HC_OPTS make variable (133a5cc)
git at git.haskell.org
git at git.haskell.org
Fri Sep 2 17:14:40 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/133a5cc6647a2ea5a63b8d81f9f357f89cb541ef/ghc
>---------------------------------------------------------------
commit 133a5cc6647a2ea5a63b8d81f9f357f89cb541ef
Author: Sergei Trofimovich <siarheit at google.com>
Date: Fri Sep 2 18:04:03 2016 +0100
ghc-cabal: accept EXTRA_HC_OPTS make variable
Signed-off-by: Sergei Trofimovich <siarheit at google.com>
>---------------------------------------------------------------
133a5cc6647a2ea5a63b8d81f9f357f89cb541ef
utils/ghc-cabal/ghc.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/utils/ghc-cabal/ghc.mk b/utils/ghc-cabal/ghc.mk
index 62338ee..38f7951 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
More information about the ghc-commits
mailing list