svn commit: r185925 - in head/contrib/binutils: bfd gas/config
ld/emulparams
Dag-Erling Smørgrav
des at des.no
Sat Dec 13 15:41:52 PST 2008
Marcel Moolenaar <xcllnt at mac.com> writes:
> It should be fairly easy for us to add it only when needed, given that
> we have different rules for building static vs shared libraries...
Not quite. We have different rules, but they use the same CFLAGS. The
"least intervention" to achieve what we want is to redefine the .c.o
rule in lib/libpam/modules/Makefile.inc; see attached patch. A cleaner
solution would be to modify share/mk/sys.mk and share/mk/bsd.lib.mk to
add STATIC_CFLAGS and SHARED_CFLAGS variables, so we could simply set
STATIC_CFLAGS=-DOPENPAM_STATIC_MODULES in Makefile.inc.
DES
--
Dag-Erling Smørgrav - des at des.no
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpam_static_modules.diff
Type: text/x-patch
Size: 2045 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mips/attachments/20081213/ab52c984/openpam_static_modules.bin
More information about the freebsd-mips
mailing list