package/tini: compile executable static
authorSimon Rowe <simon.rowe@citrix.com>
Tue, 3 Dec 2019 13:59:47 +0000 (13:59 +0000)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 3 Dec 2019 22:03:25 +0000 (23:03 +0100)
commite4732222e4c863e324771f8be2391764641ceba2
treeec1409dc7d9396fc0f8222914ce6cb867e3dde06
parentd79bab065e13f5c6def3ce1884d684fdf9f9300c
package/tini: compile executable static

One usecase for tini is as the init process for a container which has
a single executable and no C runtime library. It therefore needs to be
independent of any C runtime library within the container.

Previously, we didn't build statically to avoid problems with
BR2_SHARED_LIBS=y. However, it turns out that tini can successfully link
statically even with glibc and BR2_SHARED_LIBS=y, because libc.a is
still included in staging, and tini doesn't use any NSS functionality.

Signed-off-by: Simon Rowe <simon.rowe@citrix.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/tini/tini.mk