crosstool-ng/scripts/build/companion_libs
Stephanos Ioannidis 1da7698b7c newlib-nano: Fix include path for CT_NEWLIB_NANO_INSTALL_IN_TARGET
When `CT_NEWLIB_NANO_INSTALL_IN_TARGET=y`, the `nano.specs` file
emitted by the newlib-nano build script contains an invalid include
path, resulting in the full `newlib.h` being included instead of the
nano `newlib.h` by the application.

`=/include/newlib-nano` is not a valid path (`=` does not mean anything
and that string is taken as an include path as-is) and GCC ignores this
include path, resulting in application including the `newlib.h` from
`include/` which contains the newlib build configurations for the full
newlib.

This commit modifies the newlib-nano build script to emit a proper
newlib-nano include path relative to the `GCC_EXEC_PREFIX`.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-05-12 20:58:29 +12:00
..
050-zlib.sh Rename JOBSFLAGS -> CT_JOBSFLAGS 2019-04-04 18:57:42 -07:00
100-gmp.sh Retire obsoleted milestones 2022-02-11 00:47:50 -08:00
110-mpfr.sh Rename JOBSFLAGS -> CT_JOBSFLAGS 2019-04-04 18:57:42 -07:00
121-isl.sh Retire obsoleted milestones 2022-02-11 00:47:50 -08:00
130-cloog.sh Rename JOBSFLAGS -> CT_JOBSFLAGS 2019-04-04 18:57:42 -07:00
140-mpc.sh Rename JOBSFLAGS -> CT_JOBSFLAGS 2019-04-04 18:57:42 -07:00
200-libelf.sh Avoid adding arch/cpu/tune flags for target to GCC build 2018-06-05 00:16:37 -07:00
210-expat.sh Rename JOBSFLAGS -> CT_JOBSFLAGS 2019-04-04 18:57:42 -07:00
220-ncurses.sh Rename JOBSFLAGS -> CT_JOBSFLAGS 2019-04-04 18:57:42 -07:00
320-libiconv.sh Rename JOBSFLAGS -> CT_JOBSFLAGS 2019-04-04 18:57:42 -07:00
330-gettext.sh Restrict *-uclibc,* canadians to gettext 0.20 2022-02-11 00:47:51 -08:00
340-picolibc.sh Convert tabs to spaces 2022-02-11 00:47:51 -08:00
350-newlib_nano.sh newlib-nano: Fix include path for CT_NEWLIB_NANO_INSTALL_IN_TARGET 2022-05-12 20:58:29 +12:00
400-gnuprumcu.sh gnuprumcu: Bump to v0.6.0 2021-08-22 18:08:13 +03:00