summaryrefslogtreecommitdiffstats
path: root/temporary-bootstrap-builder-setup.txt
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-01-05 20:46:05 (EST)
committer P. J. McDermott <pjm@nac.net>2012-01-05 20:46:05 (EST)
commitaa744429521b3c14ab4b4b562f436977cbbe5282 (patch)
treed7ae3242aafb65ed00620688d96a5868f38e5d1f /temporary-bootstrap-builder-setup.txt
parentbc48e9bedb5f7b82eae5fb9ca31ab2d3f55fd105 (diff)
Make EGLIBC config look more like CLFS-Sysroot's.
Diffstat (limited to 'temporary-bootstrap-builder-setup.txt')
-rw-r--r--temporary-bootstrap-builder-setup.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/temporary-bootstrap-builder-setup.txt b/temporary-bootstrap-builder-setup.txt
index a221b3a..a9c6c5a 100644
--- a/temporary-bootstrap-builder-setup.txt
+++ b/temporary-bootstrap-builder-setup.txt
@@ -248,6 +248,14 @@ system.
$ cd ../..
$ mkdir -v eglibc-build
$ cd eglibc-build
+ $ cat > config.cache <<EOF
+ > libc_cv_forced_unwind=yes
+ > libc_cv_c_cleanup=yes
+ > libc_cv_gnu89_inline=yes
+ > EOF
+ $ cat > configparams <<EOF
+ > install_root=${BBL}
+ > EOF
$ BUILD_CC=gcc CC=${BBL_TARGET}-gcc AR=${BBL_TARGET}-ar \
> RANLIB=${BBL_TARGET}-ranlib \
> CFLAGS="-march=$(cut -d - -f 1 <<< ${BBL_TARGET} | sed 's/x86_64/x86-64/') \
@@ -255,8 +263,7 @@ system.
> --libexecdir=/usr/lib/eglibc --host=${BBL_TARGET} --build=${BBL_HOST} \
> --disable-profile --enable-add-ons --with-tls --enable-kernel=3.1.0 \
> --with-__thread --with-binutils=${BBL}/cross-tools/bin \
- > --with-headers=${BBL}/usr/include libc_cv_forced_unwind=yes \
- > libc_cv_c_cleanup=yes libc_cv_gnu89_inline=yes install_root=${BBL} \
+ > --with-headers=${BBL}/usr/include --cache-file=config.cache \
> libc_cv_ssp=no
$ make
$ make install