Ignore:
Timestamp:
Feb 21, 2006, 2:07:27 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
bc4ea88
Parents:
ec749f6
Message:

r1045@server (orig r1043): ryan | 2006-01-12 00:56:45 -0800

r1079@rei: lfs | 2006-01-12 19:13:09 +1100
Update for glibc-2.3.6
Also add option to skip libgcc_s.so.1 creation (to match cross-lfs book)


File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/scripts/funcs/glibc-funcs.sh

    rec749f6 r11fbfa9  
    2525         echo " o compiling with gcc 4.x"
    2626         case ${target_glibc_ver} in
    27             2.3.[6-9]* | 2.4.* ) ;;
     27            2.3.[7-9]* | 2.4.* ) ;;
     28            2.3.6 )
     29               apply_patch glibc-20051024-localedef_segfault-1
     30
     31               case ${TGT_ARCH} in
     32               sparc* )
     33                  # fix CFLAGS-rtld to remove deprecated sparc compiler options
     34                  # from sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
     35                  # ( -mv8 is no longer supported ). Use -mcpu -mtune options
     36                  # from TGT_CFLAGS (which get passed regardless)
     37                  echo "   - removing deprecated gcc options from sysdeps/unix/sysv/linux/sparc/sparc32/Makefile"
     38                  file="sysdeps/unix/sysv/linux/sparc/sparc32/Makefile"
     39                  if [ ! -f ${file}-ORIG ]; then cp -p ${file} ${file}-ORIG ; fi
     40                  grep -v \\-mv8 ${file}-ORIG > ${file}
     41               ;;
     42               esac
     43
     44            ;;
    2845            2.3.5 )
    2946               # gcc4 support is working in CVS glibc
     47
    3048               if [ ! -d ${SRC}/${PKGDIR}/CVS ]; then
    3149                  echo "   - applying gcc4 fixes"
     
    3856                  apply_patch glibc-2.3.5-allow-gcc4-wcstol_l
    3957               fi
     58
    4059               case ${TGT_ARCH} in
    4160               sparc* )
     
    118137            ${fname}-ORIG > ${fname}
    119138         }
     139
    120140         case ${TGT_ARCH} in
    121141            m68k* )
     
    125145            arm* ) apply_patch glibc-arm-ctl_bus_isa ;;
    126146         esac
     147
    127148      ;;
    128149      2.4.2[4-9] | 2.4.3* )
Note: See TracChangeset for help on using the changeset viewer.