diff options
author | Alejandro Colomar <alx@kernel.org> | 2024-04-16 01:16:08 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2024-04-16 16:26:02 +0200 |
commit | fee8e186e3878c6e9827233efde90bc115801aa3 (patch) | |
tree | ec00d7d5cb9479fa58aab6d2cf68603e8f6cb2b9 | |
parent | 9524f0f63badd896ccf6da7d79511100d86c4721 (diff) |
GNUmakefile: Simplify the $SHELL
nixpkgs does not provide /usr/bin/env, so they had to work around it by
specifying just env. Since make(1) accepts program names instead of
paths, we can as well use bash directly, which is simpler.
Link: <https://github.com/NixOS/nixpkgs/pull/300797>
Reported-by: Sergei Trofimovich <slyich@gmail.com>
Cc: Mario Rodas <https://github.com/marsam>
Cc: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | GNUmakefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile index 740121cee..fcc96a364 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -2,9 +2,8 @@ # SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception -BASH := bash -SHELL := /usr/bin/env -.SHELLFLAGS := -S '$(BASH) -Eeuo pipefail -c' +SHELL := bash +.SHELLFLAGS := -Eeuo pipefail -c MAKEFLAGS += --no-builtin-rules |