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-09-20 09:20:12 +0000 |
commit | cda48c2ed29b71642d771aa122c4eac7390e9d3b (patch) | |
tree | f4a39f2c73144a047677c2c86276861355b5051d /elements/gnu-toolchain/glibc.bst | |
parent | fa760aff3ee524cd0de52851d5d34dc191a42f76 (diff) | |
download | definitions-cda48c2ed29b71642d771aa122c4eac7390e9d3b.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/gnu-toolchain/glibc.bst')
-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 \ |