X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=packages%2Ftoolchain%2Fglibc%2Fglibc;h=ea6d099f8993979f459471b230af90052bd1f719;hb=c7b7c7d4ce2f5a6947e42ff37d9584d26eb52ba4;hp=7653346b7976439e9a68e2f28ec942cf63cdb100;hpb=6ae193981fcc05dcc495b4bde92cb8fd290ee4dd;p=hdw-linux%2Fhdw-linux.git diff --git a/packages/toolchain/glibc/glibc b/packages/toolchain/glibc/glibc index 7653346..ea6d099 100644 --- a/packages/toolchain/glibc/glibc +++ b/packages/toolchain/glibc/glibc @@ -2,20 +2,20 @@ # # author: hackbard@hackdaworld.dyndns.org # -# [V] cvs +# [V] 2.4 # [S] 0-3 -## [D] glibc-2.3.2.tar.bz2 ftp://sources.redhat.com/pub/glibc/releases/ -## [D] glibc-linuxthreads-2.3.2.tar.bz2 ftp://sources.redhat.com/pub/glibc/releases/ -# [D] glibc.tar.bz2 cvs:anoncvs:sources.redhat.com:cvs/glibc:libc +# [D] glibc-2.3.6.tar.bz2 ftp://sources.redhat.com/pub/glibc/releases/ +# [D] glibc-linuxthreads-2.3.6.tar.bz2 ftp://sources.redhat.com/pub/glibc/releases/ +## [D] glibc.tar.bz2 cvs:anoncvs:sources.redhat.com:cvs/glibc:libc -srcdir=libc +kernver=`grep '^#\ \[V\]' $confdir/../linux/linux | awk '{ print $3 }'` +kernver=`echo $kernver | awk -F. '{ print $1 "." $2 }'` extraver="-${ver}" [ "$ver" = "cvs" ] && extraver="" -confopt=${confopt//--host* /--host=$hdw_arch_build } -confopt="$confopt --enable-add-ons=nptl --disable-profile --with-tls" -confopt="$confopt --without-cvs --without-gd" -confopt="$confopt --with-headers=$prefix/glibc-kernheaders" +confopt="$confopt --enable-add-ons --disable-profile" +confopt="$confopt --without-cvs --without-gd --without-selinux" +confopt="$confopt --with-headers=$prefix/include --enable-kernel=$kernver" confopt="$confopt --with-binutils=$prefix/bin" unset CFLAGS @@ -26,7 +26,7 @@ build_main() { cd ../glibc-build # configure and prepare Makefile - ../${srcdir}${extraver}/configure $confopt + ../glibc${extraver}/configure $confopt mkdir -p $prefix/etc touch $prefix/etc/ld.so.conf