Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.bin/awk

On Oct 20, 2008, at 11:16 AM, Alan Barrett wrote:

Module Name:    src
Committed By:   apb
Date:           Mon Oct 20 18:16:55 UTC 2008

Modified Files:
        src/usr.bin/awk: Makefile

Log Message:
When building as a host tool, do not add ${LIBM} to DPADD, but do add
"-lm" to LDADD as usual.  We do assume that the host system has a -lm
library, but we can't assume that the library is in /usr/lib/libm.a.

I would go so far as to say -- unless we're linking statically, there is zero reason to DPADD a library at all, even for native builds.

To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 src/usr.bin/awk/Makefile

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

-- thorpej

Home | Main Index | Thread Index | Old Index