summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cmds3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cmds b/Cmds
index c0e6032..8db24f5 100644
--- a/Cmds
+++ b/Cmds
@@ -1,6 +1,9 @@
# Be quite and do not echo the cmd
Q = @
+# Try to use bash as shell for make
+SHELL := $(shell if [ -x /bin/bash ]; then echo /bin/bash; else echo /bin/sh; fi ; fi)
+
# GCC related stuff
LD = $(Q)echo -e " LD\t$@" && $(CCACHE) $(CROSS_COMPILE)gcc
CCNQ = $(CCACHE) $(CROSS_COMPILE)gcc