Magellan Linux

Diff of /smage/trunk/core/glibc/glibc-2.18-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5120 by niro, Tue Sep 24 10:05:49 2013 UTC revision 5121 by niro, Tue Sep 24 10:34:03 2013 UTC
# Line 350  src_install_glibc-dev() Line 350  src_install_glibc-dev()
350   find ${BINDIR} | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded || die   find ${BINDIR} | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded || die
351    
352   # strip all libraries   # strip all libraries
  # want to be safe here; --strip-unneeded seems to cause pthread problems  
  # strip all but libpthread  
  install -d ${BUILDDIR}/thread-backup || die  
  mv ${BINDIR}/usr/$(mlibdir)/lib{pthread,thread_db}* ${BUILDDIR}/thread-backup/ || die  
   
  # now strip  
353   find ${BINDIR} | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded || die   find ${BINDIR} | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded || die
  mv -f ${BUILDDIR}/thread-backup/* ${BINDIR}/usr/$(mlibdir)/ || die  
  # remove stale directory  
  rm -rf ${BUILDDIR}/thread-backup || die  
354  }  }
355    
356  fix_db_files()  fix_db_files()

Legend:
Removed from v.5120  
changed lines
  Added in v.5121