Magellan Linux

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

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

revision 13743 by niro, Wed Aug 7 11:11:34 2019 UTC revision 13744 by niro, Wed Aug 7 11:13:29 2019 UTC
# Line 289  src_install_glibc() Line 289  src_install_glibc()
289   install -d ${BUILDDIR}/thread-backup/$(mlibdir) || die   install -d ${BUILDDIR}/thread-backup/$(mlibdir) || die
290   mv ${BINDIR}/usr/$(mlibdir)/lib{pthread,thread_db,c-}* ${BUILDDIR}/thread-backup/$(mlibdir)/ || die   mv ${BINDIR}/usr/$(mlibdir)/lib{pthread,thread_db,c-}* ${BUILDDIR}/thread-backup/$(mlibdir)/ || die
291   mv ${BINDIR}/usr/$(mlibdir)/ld-* ${BUILDDIR}/thread-backup/$(mlibdir)/ || die   mv ${BINDIR}/usr/$(mlibdir)/ld-* ${BUILDDIR}/thread-backup/$(mlibdir)/ || die
292     if [[ ${ARCH} = x86_64 ]]
293     then
294     install -d ${BUILDDIR}/thread-backup/lib || die
295     mv ${BINDIR}/usr/lib/lib{pthread,thread_db,c-}* ${BUILDDIR}/thread-backup/lib/ || die
296     mv ${BINDIR}/usr/lib/ld-* ${BUILDDIR}/thread-backup/lib/ || die
297     fi
298    
299   # now strip but only debuging symbols   # now strip but only debuging symbols
300   find ${BINDIR} ! -type d | xargs --no-run-if-empty file | grep "[shared object|pie executable]" | grep ELF | cut -f 1 -d : | xargs --no-run-if-empty strip --strip-debug || die   find ${BINDIR} ! -type d | xargs --no-run-if-empty file | grep "[shared object|pie executable]" | grep ELF | cut -f 1 -d : | xargs --no-run-if-empty strip --strip-debug || die
301   find ${BINDIR} ! -type d | xargs --no-run-if-empty file | grep "ar archive" | cut -f 1 -d : | xargs --no-run-if-empty strip --strip-debug || die   find ${BINDIR} ! -type d | xargs --no-run-if-empty file | grep "ar archive" | cut -f 1 -d : | xargs --no-run-if-empty strip --strip-debug || die
302   mv -f ${BUILDDIR}/thread-backup/$(mlibdir)/* ${BINDIR}/usr/$(mlibdir)/ || die   mv -f ${BUILDDIR}/thread-backup/$(mlibdir)/* ${BINDIR}/usr/$(mlibdir)/ || die
303     if [[ ${ARCH} = x86_64 ]]
304     then
305     mv -f ${BUILDDIR}/thread-backup/lib/* ${BINDIR}/usr/lib/ || die
306     fi
307   # remove stale directory   # remove stale directory
308   rm -rf ${BUILDDIR}/thread-backup || die   rm -rf ${BUILDDIR}/thread-backup || die
309    

Legend:
Removed from v.13743  
changed lines
  Added in v.13744