Altering compile flags for newlib

Jon Beniston jon@beniston.com
Tue Jul 23 11:22:00 GMT 2013


Hi,

One the command line, I think you can do:

make CFLAGS_FOR_TARGET="new flags"

Cheers,
Jon

> -----Original Message-----
> From: newlib-owner@sourceware.org [mailto:newlib-
> owner@sourceware.org] On Behalf Of Vasili Galka
> Sent: 23 July 2013 11:52
> To: newlib@sourceware.org
> Subject: Altering compile flags for newlib
> 
> Hi,
> 
> I would like to alter the gcc flags with which newlib is built.
> So far I replaced line 51 in newlib-2.0.0/newlib/configure.host from
>   newlib_cflags=
> to
>   newlib_cflags="new flags"
> 
> Is this the right/best way to do it?
> 
> Regards,
> Vasili Galka



More information about the Newlib mailing list