diff options
author | Ian Lynagh <igloo@earth.li> | 2009-07-22 01:31:37 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-07-22 01:31:37 +0000 |
commit | eeff9887a2c308c48d5cac732e19d077feba0014 (patch) | |
tree | d8999329ac4bf3f19a33797d89516c5115e6ef31 /ghc.mk | |
parent | a7d8d283592f4698325b0c5e06244a3edc6fd35c (diff) | |
download | haskell-eeff9887a2c308c48d5cac732e19d077feba0014.tar.gz |
Add integer-simple as a build option
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -535,6 +535,16 @@ ifneq "$(findstring $(phase),0 1 2)" "" ghc_stage1_DISABLE = YES endif +ifeq "$(INTEGER_LIBRARY)" "integer-gmp" +libraries/base_dist-install_CONFIGURE_OPTS += --flags=-integer-simple +else + ifeq "$(INTEGER_LIBRARY)" "integer-simple" + libraries/base_dist-install_CONFIGURE_OPTS += --flags=integer-simple + else + $(error Unknown integer library: $(INTEGER_LIBRARY)) + endif +endif + ifneq "$(findstring $(phase),0 1 2 3)" "" # In phases 0-3, we disable stage2-3, the full libraries and haddock utils/haddock_dist_DISABLE = YES |