[Gmp-commit] /var/hg/gmp: Pass needed -I flag for make check-mini-gmp.
mercurial at gmplib.org
mercurial at gmplib.org
Wed Apr 11 22:45:54 CEST 2012
details: /var/hg/gmp/rev/fad7f412a52f
changeset: 14808:fad7f412a52f
user: Niels Möller <nisse at lysator.liu.se>
date: Wed Apr 11 22:45:50 2012 +0200
description:
Pass needed -I flag for make check-mini-gmp.
diffstat:
ChangeLog | 5 +++++
Makefile.am | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 718fff86cd74 -r fad7f412a52f ChangeLog
--- a/ChangeLog Wed Apr 11 18:35:16 2012 +0200
+++ b/ChangeLog Wed Apr 11 22:45:50 2012 +0200
@@ -1,3 +1,8 @@
+2012-04-11 Niels Möller <nisse at lysator.liu.se>
+
+ * Makefile.am (check-mini-gmp): Pass -I../.. in EXTRA_CFLAGS, to
+ locate gmp.h.
+
2012-04-11 Marco Bodrato <bodrato at mail.dm.unipi.it>
* mini-gmp/mini-gmp.h (mpz_root, mpz_rootrem): define (correctly).
diff -r 718fff86cd74 -r fad7f412a52f Makefile.am
--- a/Makefile.am Wed Apr 11 18:35:16 2012 +0200
+++ b/Makefile.am Wed Apr 11 22:45:50 2012 +0200
@@ -410,7 +410,7 @@
MINI_GMP_DIR="$$abs_srcdir/mini-gmp" \
LDFLAGS="-L../../.libs" \
LIBS="-lgmp -lm" \
- CC="$(CC_FOR_BUILD)" EXTRA_CFLAGS="-g" check
+ CC="$(CC_FOR_BUILD)" EXTRA_CFLAGS="-g -I../.." check
clean-mini-gmp:
if [ -d mini-gmp/tests ] ; then \
More information about the gmp-commit
mailing list