diff options
Diffstat (limited to 'glibc/Pkgfile')
-rwxr-xr-x | glibc/Pkgfile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/glibc/Pkgfile b/glibc/Pkgfile index 10ffacb05..2b4e48432 100755 --- a/glibc/Pkgfile +++ b/glibc/Pkgfile @@ -5,8 +5,8 @@ name=glibc version=2.16.0 -release=1 -kernelversion=3.4.4 +release=2 +kernelversion=3.4.7 kernelbaseversion=$(expr $kernelversion : '\([0-9]\.[0-9]\)') source=(http://ftp.gnu.org/gnu/glibc/$name-$version.tar.xz @@ -26,8 +26,8 @@ build() { # install build kernel headers mkdir $PKG/usr/ cd linux-$kernelbaseversion - if [ -f $SRC/patch-$version.xz ]; then - xzcat $SRC/patch-$version.xz | patch -Np1 + if [ -f $SRC/patch-$kernelversion.xz ]; then + xzcat $SRC/patch-$kernelversion.xz | patch -Np1 fi make mrproper @@ -60,7 +60,7 @@ build() { cd ../glibc-build case `uname -m` in - i?86) echo "CFLAGS += -march=i486 -mtune=native -O3 -pipe" > configparms ;; + i?86) echo "CFLAGS += -march=i686 -mtune=native -O3 -pipe" > configparms ;; esac ../$name-$version/configure --prefix=/usr \ @@ -69,8 +69,9 @@ build() { --enable-add-ons \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --enable-kernel=2.6.32 \ - --libexecdir=/usr/lib/glibc + --enable-kernel=3.4.0 \ + --libexecdir=/usr/lib/glibc \ + --enable-obsolete-rpc make make install_root=$PKG install make install_root=$PKG localedata/install-locales |