mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 09:55:55 +00:00
make: run shell with pipefail
Without pipefail, it is possible to miss failures if the recipes include pipes. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
88da4b043b
commit
3bf4583580
2
Makefile
2
Makefile
|
@ -14,6 +14,8 @@ SRC_PATH=.
|
||||||
# we have explicit rules for everything
|
# we have explicit rules for everything
|
||||||
MAKEFLAGS += -rR
|
MAKEFLAGS += -rR
|
||||||
|
|
||||||
|
SHELL = /usr/bin/env bash -o pipefail
|
||||||
|
|
||||||
# Usage: $(call quiet-command,command and args,"NAME","args to print")
|
# Usage: $(call quiet-command,command and args,"NAME","args to print")
|
||||||
# This will run "command and args", and either:
|
# This will run "command and args", and either:
|
||||||
# if V=1 just print the whole command and args
|
# if V=1 just print the whole command and args
|
||||||
|
|
Loading…
Reference in a new issue