mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-30 17:46:57 +00:00
1da7698b7c
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> |
||
---|---|---|
.. | ||
050-zlib.sh | ||
100-gmp.sh | ||
110-mpfr.sh | ||
121-isl.sh | ||
130-cloog.sh | ||
140-mpc.sh | ||
200-libelf.sh | ||
210-expat.sh | ||
220-ncurses.sh | ||
320-libiconv.sh | ||
330-gettext.sh | ||
340-picolibc.sh | ||
350-newlib_nano.sh | ||
400-gnuprumcu.sh |