Bug 210221 - [aic7xxx] Allow additional LDADD flags in aicasm Makefile
Summary: [aic7xxx] Allow additional LDADD flags in aicasm Makefile
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
Keywords: patch
Depends on:
Reported: 2016-06-11 21:16 UTC by Jon Boden
Modified: 2017-04-23 18:57 UTC (History)
2 users (show)

See Also:

allow additional flags in LIBADD (9.26 KB, patch)
2016-07-04 04:55 UTC, Jon Boden
no flags Details | Diff
shell script version (1.04 KB, text/plain)
2016-07-04 04:56 UTC, Jon Boden
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Boden 2016-06-11 21:16:09 UTC

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


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.

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

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 :-)

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