Update of /cvsroot/linux-vax/toolchain/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17771
Modified Files:
build_toolchain.sh
Log Message:
- Tryin' to build in the correct directory would probably help...
Index: build_toolchain.sh
===================================================================
RCS file: /cvsroot/linux-vax/toolchain/scripts/build_toolchain.sh,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- build_toolchain.sh 17 Dec 2005 18:51:53 -0000 1.40
+++ build_toolchain.sh 17 Dec 2005 19:08:19 -0000 1.41
@@ -638,29 +638,31 @@
# Build GNU libc
#
if [ "${BUILD_GLIBC}" -ne 0 ]; then
- # This is only here because I'd probably forget how I started
- # to work on GNU libc. So this is my external brain...
- #
- # The --with-headers part is important, --with-sysinclude
- # probably isn't...
- CC="${TARGET}-gcc" "${GLIBC_SRC}/configure" \
- --target="${TARGET}" \
- --disable-sanity-checks \
- --host="${TARGET}" \
- --with-sysinclude="${LINUX_SRC}/include" \
- --with-headers="${LINUX_SRC}/include" \
- --disable-shared \
- --enable-static \
- --enable-add-ons=linuxthreads \
- --without-fp -nfp
- #
- # For now, try to build as much of GNU lobc as possible, then
- # exit, because this won't work and thus there's no native
- # compiler based on glibc...
- #
- make || true
- echo "WARNING: This build is was faked to be okay" >&2
- exit 0
+ pushd "${GLIBC_BUILD}"
+ # This is only here because I'd probably forget how I started
+ # to work on GNU libc. So this is my external brain...
+ #
+ # The --with-headers part is important, --with-sysinclude
+ # probably isn't...
+ CC="${TARGET}-gcc" "${GLIBC_SRC}/configure" \
+ --target="${TARGET}" \
+ --disable-sanity-checks \
+ --host="${TARGET}" \
+ --with-sysinclude="${LINUX_SRC}/include" \
+ --with-headers="${LINUX_SRC}/include" \
+ --disable-shared \
+ --enable-static \
+ --enable-add-ons=linuxthreads \
+ --without-fp -nfp
+ #
+ # For now, try to build as much of GNU lobc as possible, then
+ # exit, because this won't work and thus there's no native
+ # compiler based on glibc...
+ #
+ make || true
+ echo "WARNING: This build is was faked to be okay" >&2
+ exit 0
+ popd
fi
|