diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-09-20 09:15:48 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-10-25 13:41:36 +0000 |
commit | 5c26ce121680bb012ecd7d314b038475ea0107b4 (patch) | |
tree | 6452eecc3df593520191643dbaed71636f30c7e4 /elements | |
parent | c1b682b36c166e00ce1f968af81aa1838039f388 (diff) | |
download | definitions-5c26ce121680bb012ecd7d314b038475ea0107b4.tar.gz |
gnu-toolchain: Remove PATH hack in glibc
We now have /tools at the *end* of the PATH rather than the start (which is
how it should have been all a long in stage 3) so glibc's configure
script will always find `bash` in /usr/bin before it looks in
/tools/bin.
This also fixes stage3 glibc building against a stage2 sysroot when there's
no symlink from /tools/bin -> /usr/bin. This is required for the current
cross-bootstrap method.
Diffstat (limited to 'elements')
-rw-r--r-- | elements/gnu-toolchain/glibc.bst | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/elements/gnu-toolchain/glibc.bst b/elements/gnu-toolchain/glibc.bst index 41eb5b71..9772baa5 100644 --- a/elements/gnu-toolchain/glibc.bst +++ b/elements/gnu-toolchain/glibc.bst @@ -26,12 +26,6 @@ config: ARCH_FLAGS="--without-fp" ;; esac - # We override the PATH here to remove /tools/bin from it. - # Thanks to this glibc finds bash in /bin/bash through the /bin - # symlink. This is important because glibc changes the path to bash - # of the shebang in some scripts and these scripts will be broken if - # they point to bash in /tools/bin/bash. - export PATH="/usr/bin:/sbin:/bin"; export CFLAGS="-O2 $CFLAGS"; cd o && ../configure \ $ARCH_FLAGS \ |