Up to [cvs.NetBSD.org] / src / share / mk
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: matt-premerge-20091211
Revision 1.244 / (download) - annotate - [select for diffs], Tue Dec 8 15:18:42 2009 UTC (3 years, 5 months ago) by uebayasi
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.243: +2 -13
lines
Diff to previous 1.243 (colored)
When PROGS / LIBS are used, you can pass each PROG / LIB specific parameters
to ${LD} via:
${LDADD.${PROG}}
${LDFLAGS.${PROG}}
${LDSTATIC.${PROG}}
${LDADD.${LIB}}
${LDFLAGS.${LIB}}
OTOH you can't pass parameters to ${CC}, because in suffix rules make(1) only
knows the name of ${.IMPSRC} and ${.TARGET}; it's users' responsivility to
define ${CC} parameters to all the sources of a given ${PROG} / ${LIB}.
Should address bin/42381.
(Bug in this commit log was pointed out by mrg@.)