Enlevé les CFLAGS spécifiques pour eglibc
[hvlinux.git] / stage2 / pkg / eglibc
index d53de20..6aa0607 100644 (file)
@@ -2,8 +2,6 @@
 
 hvconfig_pre()
 {
-    export CFLAGS="-mtune=generic -g -O2"
-
     CONFIGURE_OPTS="\
         ${CONFIGURE_OPTS} \
         --disable-profile \
@@ -11,12 +9,6 @@ hvconfig_pre()
         --enable-kernel=$(get_pkg_ver ${KERNEL}) \
         --libexecdir=/usr/lib/eglibc"
 
-    case "${HVL_TARGET}" in
-        "x86")
-            CFLAGS="-march=$(cut -d- -f1 <<< ${CLFS_TARGET}) ${CFLAGS}"
-            ;;
-    esac
-
     # When running make install, a script called test-installation.pl performs a
     # small sanity test on our newly installed Glibc. However, because our
     # toolchain still points to the /tools directory, the sanity test would be
@@ -39,11 +31,6 @@ hvconfig_pre()
     esac
 }
 
-hvconfig_post()
-{
-    unset CFLAGS
-}
-
 hvbuild()
 {
     make