diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2021-04-29 11:31:11 +0800 |
---|---|---|
committer | Moritz Angermann <moritz.angermann@gmail.com> | 2021-05-03 22:19:36 -0400 |
commit | eb3ae87ff46760eb28904cf934f883df97ee5beb (patch) | |
tree | 2fed471e3703918f0589381d42a5eef9b7016ec2 | |
parent | 7146958a3cc0212b2c2c35917c10adde0aa57d30 (diff) | |
download | haskell-wip/angerman/fix-gmp-enabled.tar.gz |
[gmp] respect GMP_ENABLEDwip/angerman/fix-gmp-enabled
-rw-r--r-- | libraries/ghc-bignum/gmp/ghc.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/ghc-bignum/gmp/ghc.mk b/libraries/ghc-bignum/gmp/ghc.mk index fe8ba7c171..5f04e22b1d 100644 --- a/libraries/ghc-bignum/gmp/ghc.mk +++ b/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 |