diff options
Diffstat (limited to 'config/libc/newlib.in.2')
-rw-r--r-- | config/libc/newlib.in.2 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config/libc/newlib.in.2 b/config/libc/newlib.in.2 index 96bd22bf..f73128c3 100644 --- a/config/libc/newlib.in.2 +++ b/config/libc/newlib.in.2 @@ -1,5 +1,19 @@ # newlib second-part options +config LIBC_NEWLIB_TARGET_CFLAGS + string + prompt "Target CFLAGS for newlib" + default "" + help + Used to add specific options when compiling the target libraries + (eg. -ffunction-sections -fdata-sections), which can't be defined + in global TARGET_CFLAGS, because they shall be not used for the + gcc target libraries. + Note: Both TARGET_CFLAGS and LIBC_NEWLIB_TARGET_CFLAGS are used + to compile the libraries. + + Leave blank if you don't know better. + config LIBC_NEWLIB_IO_C99FMT bool prompt "Enable IOs on C99 formats" |