public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Linux configuration bug
@ 1998-04-20  2:20 Andreas Schwab
  1998-04-21 17:06 ` Jim Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 1998-04-20  2:20 UTC (permalink / raw)
  To: egcs

The file config/mt-linux contains an assignment for CXXFLAGS.  This is
wrong, a *target* makefile frag should never set a *host* variable.
Instead it should set CXXFLAGS_FOR_TARGET.


1998-04-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* mt-linux (CXXFLAGS_FOR_TARGET): Set this instead of CXXFLAGS.

--- egcs-2.91.23/config/mt-linux.~1~	Thu Sep 18 23:47:30 1997
+++ egcs-2.91.23/config/mt-linux	Sun Apr 19 15:08:46 1998
@@ -1,2 +1,2 @@
 # When using glibc 2 on Linux we must always use vtable thunks.
-  CXXFLAGS=-O2 -g -fvtable-thunks
+CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -fvtable-thunks

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org

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

* Re: Linux configuration bug
  1998-04-20  2:20 Linux configuration bug Andreas Schwab
@ 1998-04-21 17:06 ` Jim Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 1998-04-21 17:06 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: egcs

	* mt-linux (CXXFLAGS_FOR_TARGET): Set this instead of CXXFLAGS.

This looks OK to me.  Go ahead and install it.

Jim

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

end of thread, other threads:[~1998-04-21 17:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-20  2:20 Linux configuration bug Andreas Schwab
1998-04-21 17:06 ` Jim Wilson

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).