From c028685518a261f6d0dab0d7ed15f9570ab9b3d0 Mon Sep 17 00:00:00 2001 From: Andre Simoes Dias Vieira Date: Mon, 29 Jun 2015 13:38:59 +0100 Subject: [PATCH] Change to nano.specs to add nano's include dir Signed-off-by: Corinna Vinschen --- libgloss/ChangeLog | 5 +++++ libgloss/arm/elf-nano.specs | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 3469fad33..3f4123a3f 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +2015-07-14 Andre Vieira + + * arm/elf-nano.specs: Added option to search for system headers in + newlib-nano directory. + 2015-05-26 Stefan Wallentowitz * or1k/impure.c: Fix initialization of impure ptr diff --git a/libgloss/arm/elf-nano.specs b/libgloss/arm/elf-nano.specs index 60dc407c6..575f47d38 100644 --- a/libgloss/arm/elf-nano.specs +++ b/libgloss/arm/elf-nano.specs @@ -1,5 +1,9 @@ %rename link nano_link %rename link_gcc_c_sequence nano_link_gcc_c_sequence +%rename cpp nano_cpp + +*cpp: +-isystem =/include/newlib-nano %(nano_cpp) *nano_libc: -lc_nano -- 2.43.5