(BOOT_LANGUAGES): New variable.
(bootstrap): Use it to select languages for stage1. From-SVN: r12290
This commit is contained in:
parent
8163337511
commit
5e31e473a7
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue