summaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-19 13:32:47 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-19 13:32:47 +0000
commitd6520c74b808524fe65edbcc64e3db54974a7d20 (patch)
tree1f52221445fc80739900867a0d6e2baac4f51922 /rules.mk
parent67dac5cad683c1e870b7a6c01cb4fbe44942ab6b (diff)
fix compile errors by forcing bash to be used as a shell in all submake processes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22726 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 da4728b93..7b5bd2c29 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))