[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.325 and 1.326

version 1.325, 2012/11/13 22:30:38 version 1.326, 2013/01/22 20:43:17
Line 47  CFLAGS+=        ${PIE_CFLAGS}
Line 47  CFLAGS+=        ${PIE_CFLAGS}
 AFLAGS+=        ${PIE_AFLAGS}  AFLAGS+=        ${PIE_AFLAGS}
 .endif  .endif
   
   .if defined(MKDEBUG) && (${MKDEBUG} != "no")
   # We only add -g to the shared library objects
   # because we don't currently split .a archives.
   CSHLIBFLAGS+=   -g
   .endif
   
 ##### Libraries that this may depend upon.  ##### Libraries that this may depend upon.
 .if defined(LIBDPLIBS) && ${MKPIC} != "no"                              # {  .if defined(LIBDPLIBS) && ${MKPIC} != "no"                              # {
 .for _lib _dir in ${LIBDPLIBS}  .for _lib _dir in ${LIBDPLIBS}
Line 238  CTFFLAGS+= -g
Line 244  CTFFLAGS+= -g
 .c.pico:  .c.pico:
         ${_MKTARGET_COMPILE}          ${_MKTARGET_COMPILE}
         ${COMPILE.c} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} ${CSHLIBFLAGS} ${.IMPSRC} -o ${.TARGET}          ${COMPILE.c} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} ${CSHLIBFLAGS} ${.IMPSRC} -o ${.TARGET}
 .if !defined(CFLAGS) || empty(CFLAGS:M*-g*)  .if !defined(CSHLIBFLAGS) || empty(CSHLIBFLAGS:M*-g*)
         ${OBJCOPY} ${OBJCOPYLIBFLAGS} ${.TARGET}          ${OBJCOPY} ${OBJCOPYLIBFLAGS} ${.TARGET}
 .endif  .endif
   
Line 263  CTFFLAGS+= -g
Line 269  CTFFLAGS+= -g
 .cc.pico .cpp.pico .cxx.pico .C.pico:  .cc.pico .cpp.pico .cxx.pico .C.pico:
         ${_MKTARGET_COMPILE}          ${_MKTARGET_COMPILE}
         ${COMPILE.cc} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} ${CSHLIBFLAGS} ${.IMPSRC} -o ${.TARGET}          ${COMPILE.cc} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} ${CSHLIBFLAGS} ${.IMPSRC} -o ${.TARGET}
 .if !defined(CFLAGS) || empty(CFLAGS:M*-g*)  .if !defined(CSHLIBFLAGS) || empty(CSHLIBFLAGS:M*-g*)
         ${OBJCOPY} ${OBJCOPYLIBFLAGS} ${.TARGET}          ${OBJCOPY} ${OBJCOPYLIBFLAGS} ${.TARGET}
 .endif  .endif
   

Legend:
Removed from v.1.325  
changed lines
  Added in v.1.326

CVSweb <webmaster@jp.NetBSD.org>