# HG changeset patch # User "Yann E. MORIN" # Date 1180301434 0 # Node ID 868aa6d66b01f58441966985891e52cbb851e2a8 # Parent 3e003e24f0e5e74b4b6fd66bdcb551c99496fd8b 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 -r 3e003e24f0e5 -r 868aa6d66b01 scripts/build/libfloat.sh --- a/scripts/build/libfloat.sh Sun May 27 21:15:46 2007 +0000 +++ b/scripts/build/libfloat.sh Sun May 27 21:30:34 2007 +0000 @@ -29,10 +29,10 @@ # 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 @@ 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