1 |
commit: a6b6eb5227c85e07ce6c47ad71d5188e08447a96 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 4 13:08:04 2018 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 4 13:09:28 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6b6eb52 |
7 |
|
8 |
app-i18n/uim: fix build on x86 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/661806 |
11 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
12 |
|
13 |
app-i18n/uim/uim-1.8.8.ebuild | 4 +++- |
14 |
1 file changed, 3 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/app-i18n/uim/uim-1.8.8.ebuild b/app-i18n/uim/uim-1.8.8.ebuild |
17 |
index fc0e9ef744e..f7bb3ff0158 100644 |
18 |
--- a/app-i18n/uim/uim-1.8.8.ebuild |
19 |
+++ b/app-i18n/uim/uim-1.8.8.ebuild |
20 |
@@ -3,7 +3,7 @@ |
21 |
|
22 |
EAPI="6" |
23 |
|
24 |
-inherit autotools elisp-common gnome2-utils |
25 |
+inherit autotools elisp-common flag-o-matic gnome2-utils |
26 |
|
27 |
DESCRIPTION="A multilingual input method framework" |
28 |
HOMEPAGE="https://github.com/uim/uim" |
29 |
@@ -95,6 +95,8 @@ src_prepare() { |
30 |
sed -i "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac |
31 |
# fix build with >=dev-scheme/chicken-4, bug #656852 |
32 |
touch scm/json-parser-expanded.scm |
33 |
+ # fix build with "-march=pentium4 -O2", bug #661806 |
34 |
+ is-flagq "-march=pentium4?" && append-cflags $(test-flags-CC -fno-inline-small-functions) |
35 |
|
36 |
eautoreconf |
37 |
} |