This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Linux configuration bug


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]