summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-08-19 13:32:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-08-19 13:32:47 +0000
commitb3c871375bd608c2ee5623e71ce2356b8e211ca2 (patch)
tree0bc28b951b3cad7dff941e985c6f5ab16077a61a /rules.mk
parent0f64b1d870e18f69729d9279f0c573ce2ecb0479 (diff)
downloadmtk-20170518-b3c871375bd608c2ee5623e71ce2356b8e211ca2.zip
mtk-20170518-b3c871375bd608c2ee5623e71ce2356b8e211ca2.tar.gz
mtk-20170518-b3c871375bd608c2ee5623e71ce2356b8e211ca2.tar.bz2
fix compile errors by forcing bash to be used as a shell in all submake processes
SVN-Revision: 22726
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index da4728b..7b5bd2c 100644
--- a/rules.mk
+++ b/rules.mk
@@ -36,6 +36,7 @@ TARGET_OPTIMIZATION:=$(call qstrip,$(CONFIG_TARGET_OPTIMIZATION))
TARGET_SUFFIX=$(call qstrip,$(CONFIG_TARGET_SUFFIX))
BUILD_SUFFIX:=$(call qstrip,$(CONFIG_BUILD_SUFFIX))
SUBDIR:=$(patsubst $(TOPDIR)/%,%,${CURDIR})
+export SHELL:=/usr/bin/env bash
OPTIMIZE_FOR_CPU=$(subst i386,i486,$(ARCH))