[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.371 and 1.372

version 1.371, 2017/05/23 00:54:13 version 1.372, 2017/05/29 03:52:43
Line 42  realinstall: checkver libinstall
Line 42  realinstall: checkver libinstall
 # XXX: This is needed for programs that link with .a libraries  # XXX: This is needed for programs that link with .a libraries
 # Perhaps a more correct solution is to always generate _pic.a  # Perhaps a more correct solution is to always generate _pic.a
 # files or always have a shared library.  # files or always have a shared library.
 # XXX: This breaks profiling (__mcount relocation is wrong)  
 # XXX: This is why we remove the PIE_CFLAGS from the profile  
 # built-in rule below.  
 # Another fix is to provide rcrt0.o like OpenBSD does and  # Another fix is to provide rcrt0.o like OpenBSD does and
 # do relocations for static PIE.  # do relocations for static PIE.
 .if defined(MKPIE) && (${MKPIE} != "no") && !defined(NOPIE)  .if defined(MKPIE) && (${MKPIE} != "no") && !defined(NOPIE)
Line 224  LIBSTRIPSHLIBOBJS= yes
Line 221  LIBSTRIPSHLIBOBJS= yes
   
 .c.po:  .c.po:
         ${_MKTARGET_COMPILE}          ${_MKTARGET_COMPILE}
         # XXX: See __mcount comment above          ${COMPILE.c} ${PROFFLAGS} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} -pg ${.IMPSRC} -o ${.TARGET}
         ${COMPILE.c:S/${PIE_CFLAGS}//} ${PROFFLAGS} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} -pg ${.IMPSRC} -o ${.TARGET}  
 .if defined(CTFCONVERT)  .if defined(CTFCONVERT)
         ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}          ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
 .endif  .endif

Legend:
Removed from v.1.371  
changed lines
  Added in v.1.372

CVSweb <webmaster@jp.NetBSD.org>