public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* CXXFLAGS_FOR_TARGET and config/mt-gnu
@ 2010-03-25 13:55 Doug Semler
  2010-03-25 17:43 ` Ian Lance Taylor
  0 siblings, 1 reply; 3+ messages in thread
From: Doug Semler @ 2010-03-25 13:55 UTC (permalink / raw)
  To: GCC List

The file config/mt-gnu currently defines CXXFLAGS_FOR_TARGET =
$(CXXFLAGS) -D_GNU_SOURCE.  To me, it seems that it should be +=
-D_GNU_SOURCE (like most of the other frags).  Otherwise, I cannot
override the CXXFLAGS without overriding CXXFLAGS_FOR_TARGET.  Or am I
missing something?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CXXFLAGS_FOR_TARGET and config/mt-gnu
  2010-03-25 13:55 CXXFLAGS_FOR_TARGET and config/mt-gnu Doug Semler
@ 2010-03-25 17:43 ` Ian Lance Taylor
  2010-03-26 13:14   ` Doug Semler
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Lance Taylor @ 2010-03-25 17:43 UTC (permalink / raw)
  To: Doug Semler; +Cc: GCC List

Doug Semler <dougsemler@gmail.com> writes:

> The file config/mt-gnu currently defines CXXFLAGS_FOR_TARGET =
> $(CXXFLAGS) -D_GNU_SOURCE.  To me, it seems that it should be +=
> -D_GNU_SOURCE (like most of the other frags).  Otherwise, I cannot
> override the CXXFLAGS without overriding CXXFLAGS_FOR_TARGET.  Or am I
> missing something?

I think you are right.

Ian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CXXFLAGS_FOR_TARGET and config/mt-gnu
  2010-03-25 17:43 ` Ian Lance Taylor
@ 2010-03-26 13:14   ` Doug Semler
  0 siblings, 0 replies; 3+ messages in thread
From: Doug Semler @ 2010-03-26 13:14 UTC (permalink / raw)
  To: GCC List

On Thu, Mar 25, 2010 at 1:31 PM, Ian Lance Taylor <iant@google.com> wrote:
> Doug Semler <dougsemler@gmail.com> writes:
>
>> The file config/mt-gnu currently defines CXXFLAGS_FOR_TARGET =
>> $(CXXFLAGS) -D_GNU_SOURCE.  To me, it seems that it should be +=
>> -D_GNU_SOURCE (like most of the other frags).  Otherwise, I cannot
>> override the CXXFLAGS without overriding CXXFLAGS_FOR_TARGET.  Or am I
>> missing something?
>
> I think you are right.
>
> Ian
>

All right, I opened PR/43538 so that it will be tracked...

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-26 12:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-25 13:55 CXXFLAGS_FOR_TARGET and config/mt-gnu Doug Semler
2010-03-25 17:43 ` Ian Lance Taylor
2010-03-26 13:14   ` Doug Semler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).