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

the log, even when not verbose.
This commit is contained in:
des 2004-03-16 12:12:10 +00:00
parent 74c45061e0
commit f795311fe8

View File

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