summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2011-08-01 15:49:06 +0000
committerPatrick Lauer <patrick@gentoo.org>2011-08-01 15:49:06 +0000
commitd29342094c06b3bec8e0cb2eb8de03c8b0322cdf (patch)
treeaa1d9a483d4c3ee8c312ca542c194ca7ee15b055 /app-shells
parentBump for #376559 (diff)
downloadgentoo-2-d29342094c06b3bec8e0cb2eb8de03c8b0322cdf.tar.gz
gentoo-2-d29342094c06b3bec8e0cb2eb8de03c8b0322cdf.tar.bz2
gentoo-2-d29342094c06b3bec8e0cb2eb8de03c8b0322cdf.zip
Adding lto and build system fix as suggested by upstream
(Portage version: 2.2.0_alpha49/cvs/Linux x86_64)
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/mksh/ChangeLog5
-rw-r--r--app-shells/mksh/mksh-40b.ebuild5
2 files changed, 7 insertions, 3 deletions
diff --git a/app-shells/mksh/ChangeLog b/app-shells/mksh/ChangeLog
index c2b81470d4d7..8b939e51cd55 100644
--- a/app-shells/mksh/ChangeLog
+++ b/app-shells/mksh/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-shells/mksh
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/ChangeLog,v 1.25 2011/07/21 10:51:51 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/ChangeLog,v 1.26 2011/08/01 15:49:06 patrick Exp $
+
+ 01 Aug 2011; Patrick Lauer <patrick@gentoo.org> mksh-40b.ebuild:
+ Adding lto and build system fix as suggested by upstream
*mksh-40b (21 Jul 2011)
diff --git a/app-shells/mksh/mksh-40b.ebuild b/app-shells/mksh/mksh-40b.ebuild
index b4c10b3bd556..a43e72448a79 100644
--- a/app-shells/mksh/mksh-40b.ebuild
+++ b/app-shells/mksh/mksh-40b.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-40b.ebuild,v 1.1 2011/07/21 10:51:51 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-40b.ebuild,v 1.2 2011/08/01 15:49:06 patrick Exp $
inherit eutils
@@ -24,7 +24,8 @@ src_unpack() {
src_compile() {
tc-export CC
- sh Build.sh -r || die
+ # we can't assume lto existing/enabled, so we add a fallback
+ sh Build.sh -r -c lto || sh Rebuild.sh || die
}
src_install() {