X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Feglibc;h=6aa0607bc92be43381ee32a3c3daae360b8a46b6;hb=609b33c0aeaf4095bc8d298eb1f67b3a3489c010;hp=d53de2013c54c51097c32ae072d0ea6443797e5f;hpb=a456f5191f6c754379a19ae57fcfc07a5401091f;p=hvlinux.git diff --git a/stage2/pkg/eglibc b/stage2/pkg/eglibc index d53de20..6aa0607 100644 --- a/stage2/pkg/eglibc +++ b/stage2/pkg/eglibc @@ -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