From f296bb3569839b0217ec1a775165d239877e3548 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 22 Sep 2015 18:11:01 -0400 Subject: [PATCH] Minimize newlib code size for ft32 * configure.host (ft32): minimise newlib code size --- newlib/ChangeLog | 4 ++++ newlib/configure.host | 7 +------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 7ab671d2d..79570509c 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2015-09-22 James Bowman + + * configure.host (ft32): minimise newlib code size + 2015-09-04 James Bowman * configure.host: Add ft32 support. diff --git a/newlib/configure.host b/newlib/configure.host index 1315d0972..6e2f98f23 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -143,12 +143,7 @@ case "${host_cpu}" in ;; ft32*) machine_dir=ft32 - target_optspace=yes - # newlib_io_float=no - default_newlib_io_long_long="yes" - newlib_cflags="-DPREFER_SIZE_OVER_SPEED -Os" - CFLAGS="-Os" - CCASFLAGS="-Os" + newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED" ;; h8300) machine_dir=h8300