X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage0%2Fpkg%2Feglibc;h=2f8d9f92834d60b28e5c9661d6269aea27754ec6;hb=bd4976a460cc6af4da09164c6f1d1581480a9771;hp=268e0b995ac4e6a4e53886c16008ede53896bb44;hpb=81da365042d1bf4354e0480d888fe3b8425c47c7;p=hvlinux.git diff --git a/stage0/pkg/eglibc b/stage0/pkg/eglibc index 268e0b9..2f8d9f9 100644 --- a/stage0/pkg/eglibc +++ b/stage0/pkg/eglibc @@ -14,20 +14,11 @@ hvconfig_pre() --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 @@ -53,5 +44,4 @@ hvconfig_post() unset CC unset AR unset RANLIB - unset CFLAGS }