Changeset f6180d2 for scripts/scripts/native-scripts
- Timestamp:
- Mar 10, 2006, 3:03:56 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 0019206
- Parents:
- a8a1084
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/scripts/native-scripts/native-glibc.sh
ra8a1084 rf6180d2 61 61 # if we don't have linuxthreads dirs (ie: a glibc release), then 62 62 # unpack the linuxthreads tarball 63 if [ ! -d linuxthreads -o ! -d linuxthreads_db ]; then 64 OLDPKGDIR=${PKGDIR} ; unpack_tarball glibc-linuxthreads-${GLIBC_VER} 65 PKGDIR=${OLDPKGDIR} 66 fi 63 case ${GLIBC_VER} in 64 2.4 | 2.4.* ) ;; 65 * ) 66 if [ ! -d linuxthreads -o ! -d linuxthreads_db ]; then 67 OLDPKGDIR=${PKGDIR} ; unpack_tarball glibc-linuxthreads-${GLIBC_VER} 68 PKGDIR=${OLDPKGDIR} 69 fi 70 ;; 71 esac 67 72 68 73 # unpack libidn add-on if required (should be supplied with cvs versions) 74 if [ "${USE_LIBIDN}" = "Y" ]; then 69 75 case ${target_glibc_ver} in 70 76 2.3.[4-9]* | 2.4* ) … … 76 82 ;; 77 83 esac 84 fi 78 85 79 86 # apply glibc patches as required depending on the above gcc/kernel versions 80 87 # see funcs/glibc_funcs.sh 81 88 apply_glibc_patches 89 90 # Ensure sanity check uses correct glibc 91 cd ${SRC}/${PKGDIR} 92 ld_so=`gcc ${ARCH_CFLAGS} -dumpspecs | grep dynamic-linker | \ 93 sed -e "s@.*-dynamic-linker \([-._a-zA-Z0-9/]*/${libdirname}/[-._a-zA-Z0-9/]*\).*@\1@g" \ 94 -e 's@^.*/\(.*\)@\1@g'` 95 sed -i "s@link_libs -o@link_libs -L/usr/${libdirname} -Wl,-dynamic-linker=/${libdirname}/${ld_so} -o@" \ 96 scripts/test-installation.pl 82 97 83 98 # configuration for pthread type
Note:
See TracChangeset
for help on using the changeset viewer.