diff options
author | Arnout Vandecappelle <arnout@mind.be> | 2012-11-20 22:15:36 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-11-21 11:07:35 +0100 |
commit | 5e0f1e1fcfbaca2b33397b3076a55b23b0e02cd8 (patch) | |
tree | 7f721b7f445460ec21d29bd1de8ab08ec3561937 /package/sysvinit/inittab | |
parent | cd0f43a2c56e1ac2cb30c0af15cb7029e668a219 (diff) | |
download | buildroot-novena-5e0f1e1fcfbaca2b33397b3076a55b23b0e02cd8.tar.gz buildroot-novena-5e0f1e1fcfbaca2b33397b3076a55b23b0e02cd8.zip |
busybox: fix link with tirpc
Busybox does partial linking of its modules before linking everything
together into the binary. Those partial links are done without the
standard libraries, but that also means -ltirpc can't be found. In
addition, this probably fails horribly with static linking (untested).
The problem is that the LDFLAGS are also used in the partial links.
So instead, use CFLAGS_busybox, which is only used for the busybox
link step. Also make sure that this is passed through the environment,
not on the command line, so the busybox Makefile can still append to
it.
Fixes e.g.
http://autobuild.buildroot.net/results/e8351e3ba86fdcdb2999548658271a6fde0526a9
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/sysvinit/inittab')
0 files changed, 0 insertions, 0 deletions