summaryrefslogtreecommitdiff
path: root/elements/gnu-toolchain/stage2-glibc.bst
diff options
context:
space:
mode:
Diffstat (limited to 'elements/gnu-toolchain/stage2-glibc.bst')
-rw-r--r--elements/gnu-toolchain/stage2-glibc.bst15
1 files changed, 9 insertions, 6 deletions
diff --git a/elements/gnu-toolchain/stage2-glibc.bst b/elements/gnu-toolchain/stage2-glibc.bst
index 1871a4e5..46396ec6 100644
--- a/elements/gnu-toolchain/stage2-glibc.bst
+++ b/elements/gnu-toolchain/stage2-glibc.bst
@@ -26,9 +26,11 @@ config:
# Configure flag notes:
# 1. Avoid installing to PREFIX/lib64 on x86_64.
- # 2. Location of linux-api-headers.
- # 3. Normal flags. See glibc.morph.
- # 4. Force configuration values of certain things that can't be detected
+ # 2. We install ld.so.conf to /etc, not /tools/etc, and we need to ensure
+ # ldconfig looks for it in the right place.
+ # 3. Location of linux-api-headers.
+ # 4. Normal flags. See glibc.morph.
+ # 5. Force configuration values of certain things that can't be detected
# in a cross-compile.
- |
case "%{bst-target-arch}" in
@@ -42,9 +44,10 @@ config:
--build=$(../scripts/config.guess) --host=%{target-stage1} \
--prefix="%{prefix}" \
`# [1]` --libdir="%{prefix}/lib" \
- `# [2]` --with-headers="%{prefix}/include" \
- `# [3]` --disable-profile --enable-kernel=2.6.25 \
- `# [4]` libc_cv_c_cleanup=yes libc_cv_ctors_header=yes \
+ `# [2]` --sysconfdir="/etc" \
+ `# [3]` --with-headers="%{prefix}/include" \
+ `# [4]` --disable-profile --enable-kernel=2.6.25 \
+ `# [5]` libc_cv_c_cleanup=yes libc_cv_ctors_header=yes \
libc_cv_forced_unwind=yes libc_cv_ssp=no
build-commands: