Re: option enable-target-optspace overwrites CFLAGS_FOR_TARGET

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Oliver Metz" <oliver.metz@xxxxxx> writes:

>> > I'm building a mips cross toolchain. The target libs (libgcc,
>> > libstdc++) should be optimized for the target. But when using
>> > "--enable-target-optspace" configure switch my CFLAGS_FOR_TARGETS
>> are
>> > overwritten as config/mt-ospace gets included. A similar question was
>> > asked here [1] years ago. There is also a ten years old bug report [2].
>> >
>> > Is this the desired behavior of --enable-target-optspace or do you
>> > consider this as a bug?
>> 
>> I think it's a bug.  At least it's easy to work around it.
>> 
>> Ian
> Should I update the referenced ticket [1] or open a new one?

Can't hurt.

> If including config/mt-ospace is the one and only task of
> "--enable-target-optspace" then I will try to build without it and add "-Os"
> to CFLAGS_FOR_TARGET.

That is indeed the one and only task of --enable-target-optspace.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux