This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: [PATCH] FT32: reduce newlib code size
- From: James Bowman <james dot bowman at ftdichip dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: "newlib at sourceware dot org" <newlib at sourceware dot org>
- Date: Tue, 22 Sep 2015 18:55:20 +0000
- Subject: RE: [PATCH] FT32: reduce newlib code size
- Authentication-results: sourceware.org; auth=none
- References: <CA9BBF0458F83C4F9051448B941B57D119614F9B at glaexch1>,<20150922132412 dot GJ7802 at vapier dot lan>
Thanks. Updated Changelog/patch below.
newlib/ChangeLog:
2015-09-22 James Bowman <james.bowman@ftdichip.com>
* configure.host (ft32): minimise newlib code size
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