mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
build-sys: show configure and make commands
And also hide make clean output which is very verbose and not particularly interesting.
This commit is contained in:
parent
a5e739a570
commit
fe9d97c673
13
autogen.sh
13
autogen.sh
@ -66,18 +66,23 @@ args="$args $@"
|
||||
cd $oldpwd
|
||||
|
||||
if [ "$verb" = "c" ]; then
|
||||
set -x
|
||||
$topdir/configure CFLAGS='-g -O0 -ftrapv' $args
|
||||
make clean
|
||||
make clean >/dev/null
|
||||
elif [ "$verb" = "g" ]; then
|
||||
set -x
|
||||
$topdir/configure CFLAGS='-g -Og -ftrapv' $args
|
||||
make clean
|
||||
make clean >/dev/null
|
||||
elif [ "$verb" = "a" ]; then
|
||||
set -x
|
||||
$topdir/configure CFLAGS='-g -O0 -Wsuggest-attribute=pure -Wsuggest-attribute=const -ftrapv' $args
|
||||
make clean
|
||||
make clean >/dev/null
|
||||
elif [ "$verb" = "l" ]; then
|
||||
set -x
|
||||
$topdir/configure CC=clang CFLAGS='-g -O0 -ftrapv' $args
|
||||
make clean
|
||||
make clean >/dev/null
|
||||
elif [ "$verb" = "s" ]; then
|
||||
set -x
|
||||
scan-build $topdir/configure CFLAGS='-std=gnu99 -g -O0 -ftrapv' $args
|
||||
scan-build make
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user