From 3c16357a9b7f099238b89d71d4e824cd6baa7427 Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Fri, 7 Jan 2011 14:25:20 +0000 Subject: make sysroot relative to have a relocatable gcc Signed-off-by: Thorsten Glaser --- toolchain/gcc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolchain') diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 3c160d4f4..b881473de 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -133,7 +133,7 @@ $(GCC_BUILD_DIR_FINAL)/.configured: $(WRKBUILD)/configure \ ${GCC_CONFOPTS} \ --enable-languages=$(LANGUAGES) \ - --with-sysroot=$(STAGING_TARGET_DIR) \ + --with-sysroot='$${prefix}/${STAGING_HOST2TARGET}' \ --with-slibdir=$(STAGING_TARGET_DIR)/lib \ --enable-shared \ ); -- cgit v1.2.3