Merge branche make
[hvlinux.git] / stage2 / pkg / eglibc
index a4ebe94..6aa0607 100644 (file)
@@ -2,20 +2,12 @@
 
 hvconfig_pre()
 {
-    CFLAGS="-mtune=generic -g -O2"
-
     CONFIGURE_OPTS="\
+        ${CONFIGURE_OPTS} \
         --disable-profile \
         --enable-add-ons \
         --enable-kernel=$(get_pkg_ver ${KERNEL}) \
-        --libexecdir=/usr/lib/eglibc \
-        ${CONFIGURE_OPTS}"
-
-    case "${HVL_TARGET}" in
-        "x86")
-            CFLAGS="-march=$(cut -d- -f1 <<< ${CLFS_TARGET}) ${CFLAGS}"
-            ;;
-    esac
+        --libexecdir=/usr/lib/eglibc"
 
     # When running make install, a script called test-installation.pl performs a
     # small sanity test on our newly installed Glibc. However, because our