Commit b0379819 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

Update `binary` submodule to final 0.7.2.3 release

This also introduces a "bootstrap" `cabal_macros.h` header to provide
the `MIN_VERSION_base()` macro during Cabal bootstrapping which as it is
now used by `binary`.
parent c7d559d4
Subproject commit 03adb0aa2c17ce044586e3a30edc13e5cc83f69e
Subproject commit a3edce4b95b82388997929424ce98b1d7a75350d
/* defines a few MIN_VERSION_...() macros used by some of the bootstrap packages */
#if __GLASGOW_HASKELL__ >= 709
/* package base-4.8.0.0 */
# define MIN_VERSION_base(major1,major2,minor) (\
(major1) < 4 || \
(major1) == 4 && (major2) < 8 || \
(major1) == 4 && (major2) == 8 && (minor) <= 0)
#elif __GLASGOW_HASKELL__ >= 707
/* package base-4.7.0 */
# define MIN_VERSION_base(major1,major2,minor) (\
(major1) < 4 || \
(major1) == 4 && (major2) < 7 || \
(major1) == 4 && (major2) == 7 && (minor) <= 0)
#elif __GLASGOW_HASKELL__ >= 705
/* package base-4.6.0 */
# define MIN_VERSION_base(major1,major2,minor) (\
(major1) < 4 || \
(major1) == 4 && (major2) < 6 || \
(major1) == 4 && (major2) == 6 && (minor) <= 0)
#endif
......@@ -39,6 +39,7 @@ $(ghc-cabal_DIST_BINARY): utils/ghc-cabal/Main.hs $(TOUCH_DEP) | $$(dir $$@)/. b
-Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \
-DCABAL_VERSION=$(CABAL_VERSION) \
-DBOOTSTRAPPING \
-optP-include -optPutils/ghc-cabal/cabal_macros_boot.h \
-odir bootstrapping \
-hidir bootstrapping \
-ilibraries/Cabal/Cabal \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment