[BACK]Return to bsd.lib.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / share / mk

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/share/mk/bsd.lib.mk between version 1.351 and 1.352

version 1.351, 2014/04/09 19:23:09 version 1.352, 2014/04/11 15:56:09
Line 622  ${_LIB.so.full}: ${SOLIB} ${DPADD} ${DPL
Line 622  ${_LIB.so.full}: ${SOLIB} ${DPADD} ${DPL
             ${_LDFLAGS.${_LIB}} -o ${.TARGET} ${_LIBLDOPTS} \              ${_LDFLAGS.${_LIB}} -o ${.TARGET} ${_LIBLDOPTS} \
             -Wl,--whole-archive ${SOLIB} \              -Wl,--whole-archive ${SOLIB} \
             -Wl,--no-whole-archive ${_LDADD.${_LIB}}              -Wl,--no-whole-archive ${_LDADD.${_LIB}}
 .if !defined(_LIB.so.debug)  # XXX[1]: When the arm linker bug where -Wl,-x eats $a,$d,$t from shared
   # libraries remove the following conditional and put this back in the linker
   # line. For now we delay stripping symbols until the debug split step or skip
   # it alltogether if we are using -g
   .if !defined(_LIB.so.debug) && !empty(CFLAGS:M*-g*)
         ${OBJCOPY} ${OBJCOPYLIBFLAGS} ${.TARGET}          ${OBJCOPY} ${OBJCOPYLIBFLAGS} ${.TARGET}
 .endif  .endif
 #  We don't use INSTALL_SYMLINK here because this is just  #  We don't use INSTALL_SYMLINK here because this is just
Line 642  ${_LIB.so.full}: ${SOLIB} ${DPADD} ${DPL
Line 646  ${_LIB.so.full}: ${SOLIB} ${DPADD} ${DPL
 .if defined(_LIB.so.debug)  .if defined(_LIB.so.debug)
 ${_LIB.so.debug}: ${_LIB.so.full}  ${_LIB.so.debug}: ${_LIB.so.full}
         ${_MKTARGET_CREATE}          ${_MKTARGET_CREATE}
   # XXX[2]: OBJCOPYLIBFLAGS is used to strip the symbols because it was not
   # done above.
         (  ${OBJCOPY} --only-keep-debug ${_LIB.so.full} ${_LIB.so.debug} \          (  ${OBJCOPY} --only-keep-debug ${_LIB.so.full} ${_LIB.so.debug} \
         && ${OBJCOPY} ${OBJCOPYLIBFLAGS} --strip-debug -p -R .gnu_debuglink \          && ${OBJCOPY} ${OBJCOPYLIBFLAGS} --strip-debug -p -R .gnu_debuglink \
                 --add-gnu-debuglink=${_LIB.so.debug} ${_LIB.so.full} \                  --add-gnu-debuglink=${_LIB.so.debug} ${_LIB.so.full} \

Legend:
Removed from v.1.351  
changed lines
  Added in v.1.352

CVSweb <webmaster@jp.NetBSD.org>