OSDN Git Service

(BOOT_LANGUAGES): New variable.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Jun 1996 10:23:45 +0000 (10:23 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Jun 1996 10:23:45 +0000 (10:23 +0000)
(bootstrap): Use it to select languages for stage1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12290 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/Makefile.in

index 0ff304c..7846c96 100644 (file)
@@ -37,6 +37,10 @@ SUBDIRS =
 # This is overridden by configure.
 LANGUAGES = c objective-c proto
 
+# Selection of languages to be made during stage1 build.
+# This is overridden by configure.
+BOOT_LANGUAGES = c
+
 ALLOCA =
 ALLOCA_FLAGS =
 ALLOCA_FINISH = true
@@ -2399,7 +2403,7 @@ bootstrap: force
 # Only build the C compiler for stage1, because that is the only one that
 # we can guarantee will build with the native compiler, and also it is the
 # only thing useful for building stage2.
-       $(MAKE) CC="$(CC)" libdir=$(libdir) LANGUAGES=c
+       $(MAKE) CC="$(CC)" libdir=$(libdir) LANGUAGES="$(BOOT_LANGUAGES)"
        $(MAKE) stage1
 # This used to define ALLOCA as empty, but that would lead to bad results
 # for a subsequent `make install' since that would not have ALLOCA empty.