app-shells/mksh: Fixed build when LTO fails.
authorLars Wendler <polynomial-c@gentoo.org>
Tue, 1 Sep 2015 12:08:02 +0000 (14:08 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Tue, 1 Sep 2015 12:08:02 +0000 (14:08 +0200)
Package-Manager: portage-2.2.20.1
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
app-shells/mksh/mksh-51.ebuild

index ef350b0b6211dd5baa277e1f7c7a9d0b372121d6..157e6dbaf73a616caa9028bdb3e557188cda9ea4 100644 (file)
@@ -27,7 +27,7 @@ src_compile() {
        fi
        export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
        # we can't assume lto existing/enabled, so we add a fallback
-       sh Build.sh -r -c lto || sh Rebuild.sh || die
+       sh Build.sh -r -c lto || sh Build.sh -r || die
 }
 
 src_install() {