Gentoo Archives: gentoo-proxy-maint

From: "Haelwenn (lanodan) Monnier" <contact@×××××××××.me>
To: "Michał Górny" <mgorny@g.o>
Cc: gentoo-proxy-maint@l.g.o
Subject: Re: [gentoo-proxy-maint] [PATCH 1/2] app-shells/mksh: USE=static now uses the system libc
Date: Tue, 22 Oct 2019 16:38:12
Message-Id: 20191022163807.GC19837@cloudsdale.the-delta.net.eu.org
In Reply to: Re: [gentoo-proxy-maint] [PATCH 1/2] app-shells/mksh: USE=static now uses the system libc by "Michał Górny"
1 Thanks for the review,
2
3 [2019-10-22 12:25:19+0200] Michał Górny:
4 > On Thu, 2019-09-19 at 19:47 +0200, Haelwenn (lanodan) Monnier wrote:
5 > > +src_compile() {
6 > > + tc-export CC
7 > > + if use static; then export LDSTATIC="-static"; fi
8 >
9 > use static && ...
10 >
11 > Also, what's the purpose of this anyway? I mean, I can understand
12 > having busybox static so you could use it with broken libc. But what's
13 > the use for static mksh?
14
15 Well, I don't know how far busybox sh have gone but mksh is more
16 feature-complete and has a manpage so you know what to expect (which I
17 find mandatory if you end up with keyboard working but no output), one
18 thing I'm seeing for example is that busybox sh doesn't have is
19 brace-expansion, which I find quite useful to avoid repeating yourself.
20
21 And going to address the nitpicks & fixes to be done after sending this
22 email.