summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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