aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-06-18 06:23:45 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1996-06-18 06:23:45 -0400
commit5e31e473a70fd565eb772e3427ee7441ddfb0ea2 (patch)
tree5844d6bf4f8fc2c408b39cf92fb3ef30ab14c557 /gcc
parent8163337511b14d9238b88d0f1b906737fb87877e (diff)
downloadgcc-5e31e473a70fd565eb772e3427ee7441ddfb0ea2.zip
gcc-5e31e473a70fd565eb772e3427ee7441ddfb0ea2.tar.gz
gcc-5e31e473a70fd565eb772e3427ee7441ddfb0ea2.tar.bz2
(BOOT_LANGUAGES): New variable.
(bootstrap): Use it to select languages for stage1. From-SVN: r12290
Diffstat (limited to 'gcc')
-rw-r--r--gcc/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 0ff304c..7846c96 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -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.