mksh: build lksh as /bin/sh alternative and remove lto
mksh: build lksh as /bin/sh alternative and remove lto

mksh(1) is not meant to be a /bin/sh alternative and ships with
lksh(1) which has better compatibility with POSIX sh.

Disabling lto because there is a GCC bug which broke a test case:

mira|AO | duncaen: that’s the one that fails if your compiler is buggy
with LTO
mira|AO | duncaen: remove “-c lto” from the Build.sh invocation and
retry
mira|AO | the problem is that this occurs in an interpreter, so it’s
really hard to figure out
mira|AO | GCC people also don’t care about -fwhole-program --combine or
LTO bugs
mira|AO | I’ve begun dropping LTO use from my packages peu à peu

Closes: #11011 [via git-merge-pr]

necrophcodr/void-packages,necrophcodr/void-packages,necrophcodr/void-packages,necrophcodr/void-packages,necrophcodr/void-packages