This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: Altering compile flags for newlib
- From: "Jon Beniston" <jon at beniston dot com>
- To: "'Vasili Galka'" <vvv444 at gmail dot com>, <newlib at sourceware dot org>
- Date: Tue, 23 Jul 2013 12:20:10 +0100
- Subject: RE: Altering compile flags for newlib
- References: <CA+gZxsOCpBAd7kmdHc+Kc-VozaBX_6zrK8ffPiy43gMJ1thmjg at mail dot gmail dot com>
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