projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c25a472
)
Fix cleaning the integer package
author
Ian Lynagh
<igloo@earth.li>
Thu, 30 Jul 2009 14:31:29 +0000
(14:31 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Thu, 30 Jul 2009 14:31:29 +0000
(14:31 +0000)
ghc.mk
patch
|
blob
|
history
diff --git
a/ghc.mk
b/ghc.mk
index
e3ddd75
..
94a6adf
100644
(file)
--- a/
ghc.mk
+++ b/
ghc.mk
@@
-295,7
+295,12
@@
define addPackage # args: $1 = package, $2 = condition
endef
$(eval $(call addPackage,ghc-prim))
+ifeq "$(CLEANING)" "YES"
+$(eval $(call addPackage,integer-gmp))
+$(eval $(call addPackage,integer-simple))
+else
$(eval $(call addPackage,$(INTEGER_LIBRARY)))
+endif
$(eval $(call addPackage,base))
$(eval $(call addPackage,filepath))
$(eval $(call addPackage,array))