This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

[gccgo] Correct Makefile.tpl


I let a couple of errors slip into Makefile.tpl.  I used _FOR_TARGET
where I should have used _FOR_BUILD, and I omitted GCCGO from
BASE_TARGET_EXPORTS.  The former is not too important, but the latter
is necessary when building with --disable-bootstrap.

Committed to gccgo branch.

Ian


Index: Makefile.tpl
===================================================================
--- Makefile.tpl	(revision 154273)
+++ Makefile.tpl	(working copy)
@@ -160,8 +160,8 @@ BUILD_EXPORTS = \
 	CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
 	GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
 	GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
-	GCCGO="$(GCCGO_FOR_TARGET)"; export GCCGO; \
-	GOFLAGS="$(GOFLAGS_FOR_TARGET)"; export GOFLAGS; \
+	GCCGO="$(GCCGO_FOR_BUILD)"; export GCCGO; \
+	GOFLAGS="$(GOFLAGS_FOR_BUILD)"; export GOFLAGS; \
 	DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
 	LD="$(LD_FOR_BUILD)"; export LD; \
 	LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
@@ -268,6 +268,7 @@ BASE_TARGET_EXPORTS = \
 	CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
 	GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
 	GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
+	GCCGO="$(GCCGO_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCCGO; \
 	DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
 	LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
 	LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \

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