[PATCH] FT32: reduce newlib code size

Mike Frysinger vapier@gentoo.org
Tue Sep 22 13:26:00 GMT 2015


On 22 Sep 2015 00:54, James Bowman wrote:
> --- a/newlib/configure.host
> +++ b/newlib/configure.host
>
>    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"

thanks ... those vars really shouldn't have been there in the first place

> +        default_newlib_io_long_long="no"

just delete this

> +        newlib_cflags="-DPREFER_SIZE_OVER_SPEED -fomit-frame-pointer"

this needs to append, not set, and it should not include -fomit-frame-pointer
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/newlib/attachments/20150922/2aca0b70/attachment.sig>


More information about the Newlib mailing list