patches/mpc/0.8.1/100-fix-build-with-mpfr-3_0_9.diff
author Michael Hope <michael.hope@linaro.org>
Thu Sep 29 12:27:54 2011 +1300 (2011-09-29)
changeset 2694 2c01a02334ea
permissions -rw-r--r--
Makefile: use phony targets

Add 'build', 'build-*', and 'install' as phony targets to the top level
Makefile.

I tend to do everything in tree with the build in a directory called
'build'. This interfered with the target 'build', making it think the
target was up to date, and stopping scripts/crosstool-NG.sh from being
regenerated.

Added 'install' as I often set the prefix to $PWD/install.

Signed-off-by: Michael Hope <michael.hope@linaro.org>
     1 --- trunk/src/acos.c	2009/12/08 16:49:43	733
     2 +++ trunk/src/acos.c	2009/12/09 20:51:38	734
     3 @@ -188,10 +188,7 @@
     4    else
     5      rnd_im = rnd_im == GMP_RNDU ? GMP_RNDD
     6        : rnd_im == GMP_RNDD ? GMP_RNDU
     7 -#if MPFR_VERSION_MAJOR >= 3
     8 -      : rnd_im == GMP_RNDA ? GMP_RNDZ
     9 -#endif
    10 -      : rnd_im;
    11 +      : rnd_im; /* both RNDZ and RNDA map to themselves for -asin(z) */
    12    rnd1 = RNDC(GMP_RNDN, rnd_im);
    13    mpfr_init2 (pi_over_2, p);
    14    for (;;)