From 13a66f12855066defdbc98f752caa5754a92a490 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 12 Nov 2006 03:42:05 +0000 Subject: fix gcc compile git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5511 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/gcc/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'toolchain/gcc') diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index af06e8a4c..a738345d2 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -64,10 +64,10 @@ define Stage1/Configure ); endef define Stage1/Compile - $(MAKE) -C $(BUILD_DIR1) all-gcc SHELL="$(BASH)" + export SHELL="$(BASH)"; $(MAKE) -C $(BUILD_DIR1) all-gcc endef define Stage1/Install - $(MAKE) -C $(BUILD_DIR1) install-gcc SHELL="$(BASH)" + export SHELL="$(BASH)"; $(MAKE) -C $(BUILD_DIR1) install-gcc endef define Stage2/Configure @@ -93,10 +93,10 @@ define Stage2/Configure ); endef define Stage2/Compile - $(MAKE) -C $(BUILD_DIR2) all SHELL="$(BASH)" + export SHELL="$(BASH)"; $(MAKE) -C $(BUILD_DIR2) all endef define Stage2/Install - $(MAKE) -C $(BUILD_DIR2) install SHELL="$(BASH)" + export SHELL="$(BASH)"; $(MAKE) -C $(BUILD_DIR2) install echo $(PKG_VERSION) > $(STAGING_DIR)/gcc_version # Set up the symlinks to enable lying about target name. set -e; \ -- cgit v1.2.3