summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2011-01-07 14:25:20 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-07 17:08:57 +0100
commit3c16357a9b7f099238b89d71d4e824cd6baa7427 (patch)
treeb44153569ab6ff7c13db964af942ac25095fadc3 /toolchain
parentc76fbbb7e8a7517abeec6740272738e121fd6fec (diff)
make sysroot relative to have a relocatable gcc
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile2
1 files changed, 1 insertions, 1 deletions
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 \
);