Given the impact of CFLAGS and COPTFLAGS on the build, report them in

the log, even when not verbose.
This commit is contained in:
Dag-Erling Smørgrav 2004-03-16 12:12:10 +00:00
parent 158aa05efa
commit 33503ce748

View File

@ -541,7 +541,7 @@ MAIN:{
# Build the world # Build the world
if ($cmds{'world'}) { if ($cmds{'world'}) {
logstage("building world"); logstage("building world (CFLAGS=${ENV}{'CFLAGS'})");
cd("$sandbox/src"); cd("$sandbox/src");
make('buildworld') make('buildworld')
or error("failed to build world"); or error("failed to build world");
@ -549,7 +549,7 @@ MAIN:{
# Build GENERIC if requested # Build GENERIC if requested
if ($cmds{'generic'}) { if ($cmds{'generic'}) {
logstage("building generic kernel"); logstage("building generic kernel (COPTFLAGS=${ENV}{'COPTFLAGS'})");
cd("$sandbox/src"); cd("$sandbox/src");
spawn('/usr/bin/make', 'buildkernel', 'KERNCONF=GENERIC') spawn('/usr/bin/make', 'buildkernel', 'KERNCONF=GENERIC')
or error("failed to build generic kernel"); or error("failed to build generic kernel");
@ -569,7 +569,7 @@ MAIN:{
} }
} }
if ($cmds{'lint'}) { if ($cmds{'lint'}) {
logstage("building LINT kernel"); logstage("building LINT kernel (COPTFLAGS=${ENV}{'COPTFLAGS'})");
cd("$sandbox/src"); cd("$sandbox/src");
spawn('/usr/bin/make', 'buildkernel', 'KERNCONF=LINT') spawn('/usr/bin/make', 'buildkernel', 'KERNCONF=LINT')
or error("failed to build lint kernel"); or error("failed to build lint kernel");