From e163ff9125ef6b09296993087fcda39852aa6aa8 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 27 May 2007 21:30:34 +0000 Subject: Fix libfloat when calling the compiler: - when not compiling NPTL, the shared core C compiler does not exist, - PATH arranges for the shared core C compiler to be found before the static one, so no need to force it. diff --git a/scripts/build/libfloat.sh b/scripts/build/libfloat.sh index 147d046..ee3c119 100644 --- a/scripts/build/libfloat.sh +++ b/scripts/build/libfloat.sh @@ -29,10 +29,10 @@ do_libfloat() { # builds OK with those versions of gcc that have severed softfloat support # code CT_DoStep INFO "Installing software floating point emulation library libfloat" - mkdir build-libfloat + CT_Pushd "${CT_BUILD_DIR}" + mkdir -p build-libfloat cd build-libfloat - CT_Pushd "${CT_BUILD_DIR}" CT_DoLog EXTRA "Copying sources to build dir" ( cd "${CT_SRC_DIR}/${CT_LIBFLOAT_FILE}"; tar cf - . ) |tar xvf - |CT_DoLog ALL @@ -40,11 +40,10 @@ do_libfloat() { make clean 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Building library" - make CROSS_COMPILE="${CT_CC_CORE_SHARED_PREFIX_DIR}/bin/${CT_TARGET}-" 2>&1 |CT_DoLog ALL + make CROSS_COMPILE="${CT_TARGET}-" 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Installing library" - make CROSS_COMPILE="${CT_CC_CORE_SHARED_PREFIX_DIR}/bin/${CT_TARGET}-" \ - DESTDIR="${CT_SYSROOT_DIR}" install 2>&1 |CT_DoLog ALL + make DESTDIR="${CT_SYSROOT_DIR}" install 2>&1 |CT_DoLog ALL CT_Popd -- cgit v0.10.2-6-g49f6