-# Scripts directory
-export SCRDIR=$(pwd)
-
-ipkg_ac ${KERNEL}
-
-case "${HVL_TARGET}" in
- x86*)
- ipkg_ac ${FILE_PKG}
- ipkg_ac ${NCURSES} "\
- --without-debug \
- --without-shared"
- ;;
-esac
-
-CPPFLAGS=-fexceptions \
- ipkg_ac ${GMP} "--enable-cxx"
-
-export LDFLAGS="-Wl,-rpath,/cross-tools/lib"
-
-ipkg_ac ${MPFR} "\
- --enable-shared \
- --with-gmp=/cross-tools"
-ipkg_ac ${MPC} "\
- --with-gmp=/cross-tools \
- --with-mpfr=/cross-tools"
-ipkg_ac ${PPL} "\
- --enable-shared \
- --enable-interfaces=c,cxx \
- --disable-optimization \
- --with-libgmp-prefix=/cross-tools \
- --with-libgmpxx-prefix=/cross-tools"
-ipkg_ac ${CLOOG_PPL} "\
- --enable-shared \
- --with-bits=gmp \
- --with-gmp=/cross-tools \
- --with-ppl=/cross-tools"
-
-LDFLAGS=""
-
-AR=ar AS=as \
- ipkg_ac ${BINUTILS} "\
- --host=${CLFS_HOST} \
- --target=${CLFS_TARGET} \
- --with-sysroot=${CLFS} \
- --with-lib-path=/tools/lib \
- --disable-nls \
- --enable-shared \
- --disable-multilib"
-
-GCC_PASS1="1" AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
- ipkg ${GCC} cis-ac "${GCC}-pass1"