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 2011-03-01 Aurelien Jarno <aurelien@aurel32.net>
3 * sysdeps/alpha/fpu/feupdateenv.c (feupdateenv): Add
5 * sysdeps/alpha/fpu/ftestexcept.c (fetestexcept): Likewise.
7 diff --git glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/feupdateenv.c glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/feupdateenv.c
8 index c798070..9abbf11 100644
9 --- glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/feupdateenv.c
10 +++ glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/feupdateenv.c
11 @@ -46,4 +46,5 @@ strong_alias (__feupdateenv, __old_feupdateenv)
12 compat_symbol (libm, __old_feupdateenv, feupdateenv, GLIBC_2_1);
15 +libm_hidden_ver (__feupdateenv, feupdateenv)
16 versioned_symbol (libm, __feupdateenv, feupdateenv, GLIBC_2_2);
17 diff --git glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/ftestexcept.c glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/ftestexcept.c
18 index a4b3081..34d8113 100644
19 --- glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/ftestexcept.c
20 +++ glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/ftestexcept.c
21 @@ -30,3 +30,4 @@ fetestexcept (int excepts)
23 return tmp & excepts & SWCR_STATUS_MASK;
25 +libm_hidden_def (fetestexcept)