Bug 210221

Summary: [aic7xxx] Allow additional LDADD flags in aicasm Makefile
Product: Base System Reporter: Jon Boden <jon>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Some People CC: amd64, emaste
Priority: --- Keywords: patch
Version: CURRENT   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
allow additional flags in LIBADD
none
shell script version none

Description Jon Boden 2016-06-11 21:16:09 UTC
Hi

This trivial patch makes it possible to pass additional LDADD flags to aicasm Makefile:

https://bazaar.launchpad.net/~ubuntubsd/ubuntubsd/kfreebsd-10/download/jon%40ubuntubsd.org-20160611210740-w64g5ely3bpgir65/aicasm_allow_ldadd.d-20160611210643-eqs3ku7h05u7zbq5-1/aicasm_allow_ldadd.diff

It is necessary at least on ubuntuBSD with current toolchain, and could be necessary on Debian GNU/kFreeBSD in the future. The reason is that when building the FreeBSD kernel on those systems flags -lbsd -ldb are also needed.

Thanks!
Comment 1 Jon Boden 2016-07-04 04:55:30 UTC
Hi

Same problem also happens with a few other utility binaries. Could you allow additional flags there too?

I've prepared a new patch for head branch which now uses LIBADD. Or you can use the shell script if you prefer :-)

Thanks!
Comment 2 Jon Boden 2016-07-04 04:55:57 UTC
Created attachment 172085 [details]
allow additional flags in LIBADD
Comment 3 Jon Boden 2016-07-04 04:56:39 UTC
Created attachment 172086 [details]
shell script version