This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: option enable-target-optspace overwrites CFLAGS_FOR_TARGET
- From: Ian Lance Taylor <iant at google dot com>
- To: "Oliver Metz" <oliver dot metz at gmx dot de>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Tue, 31 May 2011 23:57:59 -0700
- Subject: Re: option enable-target-optspace overwrites CFLAGS_FOR_TARGET
- References: <019701cc2026$042a0310$0c7e0930$@gmx.de>
"Oliver Metz" <oliver.metz@gmx.de> 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