[Git][ghc/ghc][wip/angerman/fix-int-gmp] fix gmp selection

Moritz Angermann gitlab at gitlab.haskell.org
Wed Jul 8 13:21:58 UTC 2020



Moritz Angermann pushed to branch wip/angerman/fix-int-gmp at Glasgow Haskell Compiler / GHC


Commits:
d4bc3c0e by Moritz Angermann at 2020-07-08T21:21:19+08:00
fix gmp selection

- - - - -


1 changed file:

- libraries/ghc-bignum/gmp/ghc.mk


Changes:

=====================================
libraries/ghc-bignum/gmp/ghc.mk
=====================================
@@ -77,11 +77,13 @@ endif
 endif
 
 UseIntreeGmp = NO
+ifeq "$(GMP_ENABLED)" "YES"
 ifneq "$(HaveLibGmp)" "YES"
 ifneq "$(HaveFrameworkGMP)" "YES"
 UseIntreeGmp = YES
 endif
 endif
+endif
 
 # gmp_wrappers.c includes "ghc-gmp.h"
 libraries/ghc-bignum/cbits/gmp_wrappers.c: libraries/ghc-bignum/include/ghc-gmp.h



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d4bc3c0eaf345a3ff020fa71ee97c6e8546a33a8

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d4bc3c0eaf345a3ff020fa71ee97c6e8546a33a8
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200708/d0df6da1/attachment-0001.html>


More information about the ghc-commits mailing list