This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Linux configuration bug
- To: egcs at cygnus dot com
- Subject: Linux configuration bug
- From: Andreas Schwab <schwab at issan dot informatik dot uni-dortmund dot de>
- Date: 20 Apr 1998 11:09:56 +0200
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