diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-08-19 13:32:47 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-08-19 13:32:47 +0000 |
commit | b3c871375bd608c2ee5623e71ce2356b8e211ca2 (patch) | |
tree | 0bc28b951b3cad7dff941e985c6f5ab16077a61a /rules.mk | |
parent | 0f64b1d870e18f69729d9279f0c573ce2ecb0479 (diff) | |
download | mtk-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.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)) |