mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
build: ensure rules with pipes might fail
.SHELLFLAGS is extended by option pipefail to make pipes fail if any pipe element fails. As .SHELLFLAGS is exported into sub-make instances it must be unexported before calling third-party build systems recursively.
This commit is contained in:
committed by
Norman Feske
parent
7da691b52a
commit
d182b20705
@@ -33,3 +33,7 @@ file_content = $(if $(wildcard $1),$(shell cat $1),)
|
||||
|
||||
# Force stable sorting order
|
||||
SORT := LC_ALL=C sort
|
||||
|
||||
# ensure pipes might fail but do not confuse sub-makes
|
||||
.SHELLFLAGS := -o pipefail -c
|
||||
unexport .SHELLFLAGS
|
||||
|
||||
Reference in New Issue
Block a user