------- Comment #9 from amylaar at gcc dot gnu dot org 2010-07-11 04:22 ------- (In reply to comment #8) > Perhaps we just need something like...
No, COMPILER uses CC, too. The issue is the the toplevel Makefile check-gcc rule forces CC in the gcc/Makefile via EXTRA_HOST_FLAGS In the native boostrap case, you probably want CC_FOR_TARGET / CFLAGS_FOR_TARGET / CXX_FOR_TARGET / CXXFLAGS_FOR_TARGET, but you still need COMPILER COMPILER_FLAGS (or its equivalent) in the case of non-bootstrap builds (native or otherwise). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42843