LDFLAGS usage

Oleksandr Tymoshenko gonzo at bluezbox.com
Fri Oct 30 19:58:00 UTC 2009


Trying to build kld for MIPS I stumbled upon some controversy with
LDFLAGS: Through all share/mk/bsd.*.mk files it is consistently used
with CC, but in sys/conf/kmod.mk it's used directly with LD and in
cobination with flags like -Wl,-foo it causes errors. So is usage of
LDFLAGS in sys/conf/kmod.mk correct?


More information about the freebsd-arch mailing list