Help stabilising mini-gmp

Niels Möller nisse at lysator.liu.se
Thu Nov 17 06:16:04 UTC 2016


tg at gmplib.org (Torbjörn Granlund) writes:

> I re-enabled it again, expect hundreds of failures due to the ABI
> adherence issue.  It's not easy to suppress those.

I think this small change should fix that, but I can't test it at the
moment.

--- a/Makefile.am	Wed Nov 16 23:07:02 2016 +0100
+++ b/Makefile.am	Thu Nov 17 07:12:08 2016 +0100
@@ -433,7 +433,7 @@ check-mini-gmp:
 		MINI_GMP_DIR="$$abs_srcdir/mini-gmp" \
 		LDFLAGS="-L../../.libs" \
 		LIBS="-lgmp -lm" \
-		CC="$(CC_FOR_BUILD)" EXTRA_CFLAGS="-g -I../.." check
+		CC="$(CC)" EXTRA_CFLAGS="$(CFLAGS) -g -I../.." check
 
 clean-mini-gmp:
 	if [ -d mini-gmp/tests ] ; then \


Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.


More information about the gmp-devel mailing list