summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-13 16:26:58 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-13 16:26:58 +0000
commitedc76f93c20e4ed2e76230d163dadda7aeb00927 (patch)
treeb3ace8d720bd616131ccff15f9d4b1fa78802de7
parent97cf62053d015c28c36a52a3d1cfaef50c71917c (diff)
Fix the stage2 compilation, no side effect with gcc4 (#2190)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8409 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--toolchain/gcc/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index cd18098e9..bae9220f0 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -93,9 +93,7 @@ define Stage2/Configure
endef
define Stage2/Compile
- $(MAKE) -C $(BUILD_DIR2) \
- SHELL="$(BASH)" \
- all
+ export SHELL="\$(BASH)"; \$(MAKE) -C \$(BUILD_DIR2) all
endef
define Stage2/Install