From edc76f93c20e4ed2e76230d163dadda7aeb00927 Mon Sep 17 00:00:00 2001
From: florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 13 Aug 2007 16:26:58 +0000
Subject: 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
---
 toolchain/gcc/Makefile | 4 +---
 1 file changed, 1 insertion(+), 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
-- 
cgit v1.2.3