--disable-profile \
--enable-add-ons \
--with-tls \
- --enable-kernel=$(get_pkg_ver ${KERNEL}) \
+ --enable-kernel=$(get_pkg_ver3 ${KERNEL}) \
--with-__thread \
--with-binutils=/cross-tools/bin \
--with-headers=/tools/include"
- case "${HVL_TARGET}" in
- "x86")
- CFLAGS="-march=$(cut -d- -f1 <<< ${CLFS_TARGET}) -mtune=native -g -O2"
- ;;
- "x86_64")
- CFLAGS="-mtune=native -g -O2"
- ;;
- esac
-
cd ${LFS_TMP}/${PACKAGE}
decompress_package ${EGLIBC_PORTS} $(pwd) 1> /dev/null
unset CC
unset AR
unset RANLIB
- unset CFLAGS
}