|
|
@ -28,8 +28,8 @@ pkg_glibc_cross="" |
|
|
|
|
|
|
|
case "$xpkg" in |
|
|
|
glibc??-cross-*) |
|
|
|
if [[ $xpkg = *24 ]] ; then |
|
|
|
echo_error "Cross package not yet supported by glibc24. Use glibc23!" |
|
|
|
if [[ $xpkg = *25 ]] ; then |
|
|
|
echo_error "Cross package not yet supported by glibc25. Use glibc23!" |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
pkg_glibc_cross="${xpkg#glibc*-cross-}" |
|
|
@ -51,7 +51,7 @@ pkg_glibc_linuxthreads=1 |
|
|
|
# fall back to linuxthreads for cross glibcs |
|
|
|
[ -n "$pkg_glibc_cross" ] && pkg_glibc_linuxthreads=1 |
|
|
|
|
|
|
|
[ "${pkg_glibc_version}" = "24" ] && pkg_glibc_linuxthreads=0 |
|
|
|
[ "${pkg_glibc_version}" = "25" ] && pkg_glibc_linuxthreads=0 |
|
|
|
|
|
|
|
# Give a more descriptive error message than the one that would happen during the build. |
|
|
|
kernel_mainline="`uname -r | cut -f-2 -d'.'`" |
|
|
@ -276,7 +276,7 @@ fi |
|
|
|
#--------------------------------- |
|
|
|
|
|
|
|
#--------------------------------- |
|
|
|
if [ $pkg_glibc_version = 24 ]; then |
|
|
|
if [ $pkg_glibc_version = 25 ]; then |
|
|
|
|
|
|
|
glibc_custmain() { |
|
|
|
# check whether profiling is enabled |
|
|
@ -370,14 +370,14 @@ glibc_prepatch() { |
|
|
|
if [ $pkg_glibc_linuxthreads = 1 -a -f $archdir/*linuxthreads*.tar.bz2 ]; then |
|
|
|
tar $taropt $archdir/*linuxthreads*.tar.bz2 |
|
|
|
fi |
|
|
|
if [ "${pkg_glibc_version}" = "24" ] ; then |
|
|
|
if [ "${pkg_glibc_version}" = "25" ] ; then |
|
|
|
echo "extracting glibc-ports" |
|
|
|
tar $taropt $archdir/glibc-ports-2.4*.tar.bz2 |
|
|
|
tar $taropt $archdir/glibc-ports-*.tar.bz2 |
|
|
|
fi |
|
|
|
} |
|
|
|
|
|
|
|
glibc_stage0() { |
|
|
|
if [ $pkg_glibc_version = 24 ] |
|
|
|
if [ $pkg_glibc_version = 25 ] |
|
|
|
then |
|
|
|
mkdir -p objdir; cd objdir |
|
|
|
|
|
|
|