crosstool-ng/scripts/build/libc
Alexey Neyman 55879ed1d8 glibc: do not add bogus options
If a multilib configuration contains an endianness option, the
${endian_extra} is set to, for example, 'mb' (note, no dash!). It is
then added to CFLAGS, resulting in bogus flags like 'mb -mb'. But it is
not even needed, as ${extra_flags} already contains the very same
option!

Found by experimenting with multilibs with different endianness on SH,
which still didn't work, but that's another story...

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-06-09 17:12:49 -07:00
..
avr-libc.sh scripts: Update usage of CT_GetCustom 2015-12-08 10:55:13 -08:00
glibc.sh glibc: do not add bogus options 2016-06-09 17:12:49 -07:00
mingw.sh consistency: Use exported variables of required tools 2015-11-17 02:48:09 -08:00
musl.sh musl-libc: Rewrite musl.sh build script 2016-02-29 17:20:28 -08:00
newlib.sh newlib: add option to enable nano formatted io 2016-03-08 04:48:27 -08:00
none.sh avr-libc: add support for avr-libc C library 2015-06-21 20:53:06 -03:00
uClibc.sh scripts: Update usage of CT_GetCustom 2015-12-08 10:55:13 -08:00