diff options
author | Patrick Lauer <patrick@gentoo.org> | 2011-08-13 08:10:42 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2011-08-13 08:10:42 +0000 |
commit | 0163b2f1f7f87f5eab37cf3a48d66855991d896c (patch) | |
tree | 8e0216a062110fd79908f5ec48fe4254bb18601e /dev-db/tokyocabinet | |
parent | Version bump. (diff) | |
download | gentoo-2-0163b2f1f7f87f5eab37cf3a48d66855991d896c.tar.gz gentoo-2-0163b2f1f7f87f5eab37cf3a48d66855991d896c.tar.bz2 gentoo-2-0163b2f1f7f87f5eab37cf3a48d66855991d896c.zip |
Fixing CFLAGS for #361129
(Portage version: 2.2.0_alpha50/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/tokyocabinet')
-rw-r--r-- | dev-db/tokyocabinet/ChangeLog | 5 | ||||
-rw-r--r-- | dev-db/tokyocabinet/tokyocabinet-1.4.47.ebuild | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/dev-db/tokyocabinet/ChangeLog b/dev-db/tokyocabinet/ChangeLog index 9b3f85337fc8..b39680ff0130 100644 --- a/dev-db/tokyocabinet/ChangeLog +++ b/dev-db/tokyocabinet/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-db/tokyocabinet # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/tokyocabinet/ChangeLog,v 1.38 2011/04/25 14:33:05 tomka Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/tokyocabinet/ChangeLog,v 1.39 2011/08/13 08:10:42 patrick Exp $ + + 13 Aug 2011; Patrick Lauer <patrick@gentoo.org> tokyocabinet-1.4.47.ebuild: + Fixing CFLAGS for #361129 25 Apr 2011; Thomas Kahle <tomka@gentoo.org> tokyocabinet-1.4.47.ebuild: x86 stable per bug 361129 diff --git a/dev-db/tokyocabinet/tokyocabinet-1.4.47.ebuild b/dev-db/tokyocabinet/tokyocabinet-1.4.47.ebuild index aef3553f7482..67888b2f34ab 100644 --- a/dev-db/tokyocabinet/tokyocabinet-1.4.47.ebuild +++ b/dev-db/tokyocabinet/tokyocabinet-1.4.47.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/dev-db/tokyocabinet/tokyocabinet-1.4.47.ebuild,v 1.6 2011/04/25 14:33:05 tomka Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/tokyocabinet/tokyocabinet-1.4.47.ebuild,v 1.7 2011/08/13 08:10:42 patrick Exp $ EAPI="2" @@ -27,6 +27,8 @@ src_prepare() { # cflags fix - remove -O2 at end of line and -fomit-frame-pointer sed -i -e 's/-O3"$/"/' configure.in || die sed -i -e 's/-fomit-frame-pointer//' configure.in || die + # flag only works on x86 derivatives, remove everywhere else + if ! use x86 && ! use amd64; then sed -i -e 's/ -minline-all-stringops//' configure.in; fi eautoreconf || die } |