summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-01-16 17:52:18 +0000
committerIan Lynagh <igloo@earth.li>2011-01-16 17:52:18 +0000
commit2b35afe9eaf4dc01b05729d2cbb9ffbdf30429ff (patch)
treefc5ff91b5809699f2c967caaf90c1cf086d291a6 /ghc.mk
parentd48ce2dcaa251eb3b312efd4be4a9d1b68638d73 (diff)
downloadhaskell-2b35afe9eaf4dc01b05729d2cbb9ffbdf30429ff.tar.gz
Simplify a bit of makefile
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/ghc.mk b/ghc.mk
index dd170bd413..d1565e9720 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -493,12 +493,10 @@ libraries/ghc-prim_dist-install_EXTRA_HADDOCK_SRCS = libraries/ghc-prim/dist-ins
ifneq "$(CLEANING)" "YES"
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
- ifeq "$(INTEGER_LIBRARY)" "integer-simple"
- libraries/base_dist-install_CONFIGURE_OPTS += --flags=integer-simple
- else
$(error Unknown integer library: $(INTEGER_LIBRARY))
- endif
endif
endif