Pass CXXFLAGS to binutils/gold.
The GOLD linker is written in C++. Pass CT_CFLAGS_FOR_HOST as
CXXFLAGS to configure so that any host specific flags are passed
through.
It feels a bit funny passing CFLAGS as CXXFLAGS, but the PPL and GCC
target rules already do the same.
Signed-off-by: Michael Hope <michael.hope@linaro.org>
1 diff --git a/mpz/remove.c b/mpz/remove.c
6 mpz_remove (mpz_ptr dest, mpz_srcptr src, mpz_srcptr f)
8 - mpz_t fpow[40]; /* inexhaustible...until year 2020 or so */
9 + mpz_t fpow[GMP_LIMB_BITS]; /* Really MP_SIZE_T_BITS */
11 unsigned long int pwr;
18 + pwr = (1L << p) - 1;
22 diff --git a/mpz/remove.c b/mpz/remove.c
26 mpz_tdiv_qr (x, rem, dest, fpow[p]);