Fix for path to env

Signed-off-by: Richard Zak <richard.j....@gmail.com>
---
 Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Makefile b/Makefile
index 30f19d33bb..ced9b97372 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,11 @@ SRC_PATH=.
 # we have explicit rules for everything
 MAKEFLAGS += -rR

+ifneq ($(BE_HOST_CPU),)
+SHELL = /bin/env bash -o pipefail
+else
 SHELL = /usr/bin/env bash -o pipefail
+endif

 # Usage: $(call quiet-command,command and args,"NAME","args to print")
 # This will run "command and args", and either:
-- 
2.25.1

-- 
Regards,

Richard J. Zak
Professional Genius
PGP Key: https://keybase.io/rjzak/key.asc

Reply via email to