path: root/elements
diff options
authorSam Thursfield <>2017-09-20 09:15:48 +0000
committerSam Thursfield <>2017-10-25 13:41:36 +0000
commit5c26ce121680bb012ecd7d314b038475ea0107b4 (patch)
tree6452eecc3df593520191643dbaed71636f30c7e4 /elements
parentc1b682b36c166e00ce1f968af81aa1838039f388 (diff)
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')
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" ;;
- # 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 \