ghc-cabal: accept EXTRA_HC_OPTS make variable
authorSergei Trofimovich <siarheit@google.com>
Fri, 2 Sep 2016 17:04:03 +0000 (18:04 +0100)
committerSergei Trofimovich <siarheit@google.com>
Fri, 2 Sep 2016 17:04:03 +0000 (18:04 +0100)
Signed-off-by: Sergei Trofimovich <siarheit@google.com>
utils/ghc-cabal/ghc.mk

index 62338ee..38f7951 100644 (file)
@@ -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