Commit 5e31e473 by Richard Kenner

(BOOT_LANGUAGES): New variable.

(bootstrap): Use it to select languages for stage1.

From-SVN: r12290
parent 81633375
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment