This is the mail archive of the
newlib-cvs@sourceware.org
mailing list for the newlib project.
[newlib-cygwin] Minimize newlib code size for ft32
- From: Jeff Johnston <jjohnstn at sourceware dot org>
- To: newlib-cvs at sourceware dot org
- Date: 22 Sep 2015 22:12:38 -0000
- Subject: [newlib-cygwin] Minimize newlib code size for ft32
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=f296bb3569839b0217ec1a775165d239877e3548
commit f296bb3569839b0217ec1a775165d239877e3548
Author: Jeff Johnston <jjohnstn@redhat.com>
Date: Tue Sep 22 18:11:01 2015 -0400
Minimize newlib code size for ft32
* configure.host (ft32): minimise newlib code size
Diff:
---
newlib/ChangeLog | 4 ++++
newlib/configure.host | 7 +------
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 7ab671d..7957050 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2015-09-22 James Bowman <james.bowman@ftdichip.com>
+
+ * configure.host (ft32): minimise newlib code size
+
2015-09-04 James Bowman <james.bowman@ftdichip.com>
* configure.host: Add ft32 support.
diff --git a/newlib/configure.host b/newlib/configure.host
index 1315d09..6e2f98f 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