summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-03-19 18:13:45 +0100
committerAlejandro Colomar <alx@kernel.org>2024-03-19 18:13:45 +0100
commite4194ea338b9515f129be6a1b98d7ff8a4b29ed9 (patch)
tree748349a09800b4fe31fe16fb551f93b3bbd3a123
parent3956a94213b6ed908ca299e7f426afee537133a6 (diff)
GNUmakefile: Use a more portable $SHELL
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--GNUmakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 6ae3d0149..1602c9195 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -2,8 +2,9 @@
# SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception
-SHELL := /usr/bin/env
-.SHELLFLAGS := -S bash -Eeuo pipefail -c
+BASH := bash
+SHELL := /usr/bin/env
+.SHELLFLAGS := -S '$(BASH) -Eeuo pipefail -c'
MAKEFLAGS += --no-builtin-rules