commit: 87727e3dd198beed393cf4aec89dc58ace84aade
parent: cd53cddbcc99f8f88d6620888cbf99b783a074c4
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 31 Mar 2019 11:54:46 +0200
app-shells/mksh: oneline if-use-static; clean Build.sh
Diffstat:
2 files changed, 4 insertions(+), 14 deletions(-)
diff --git a/app-shells/mksh/mksh-57.ebuild b/app-shells/mksh/mksh-57.ebuild
@@ -29,14 +29,9 @@ S="${WORKDIR}/${PN}"
src_compile() {
tc-export CC
# we want to build static with klibc
- if use static
- then
- unset CC
- export CC="/usr/bin/klcc"
- export LDSTATIC="-static"
- fi
+ if use static; then export CC="/usr/bin/klcc"; export LDSTATIC="-static"; fi
export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
- sh Build.sh -r -c lto || sh Rebuild.sh || die
+ sh Build.sh -r die
}
src_install() {
diff --git a/app-shells/mksh/mksh-9999.ebuild b/app-shells/mksh/mksh-9999.ebuild
@@ -29,14 +29,9 @@ S="${WORKDIR}/${PN}"
src_compile() {
tc-export CC
# we want to build static with klibc
- if use static
- then
- unset CC
- export CC="/usr/bin/klcc"
- export LDSTATIC="-static"
- fi
+ if use static; then export CC="/usr/bin/klcc"; export LDSTATIC="-static"; fi
export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
- sh Build.sh -r -c lto || sh Rebuild.sh || die
+ sh Build.sh -r die
}
src_install() {