Merge branche make
[hvlinux.git] / stage0 / pkg / eglibc
index 268e0b9..be97599 100644 (file)
@@ -19,15 +19,6 @@ hvconfig_pre()
         --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
 }