summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2018-08-04 22:08:04 +0900
committerAkinori Hattori <hattya@gentoo.org>2018-08-04 22:09:28 +0900
commita6b6eb5227c85e07ce6c47ad71d5188e08447a96 (patch)
treef8d856fb24f5d009757a0148430647c8bb436c91
parentmedia-gfx/eog-plugins: bump to 3.26.3 (diff)
downloadgentoo-a6b6eb5227c85e07ce6c47ad71d5188e08447a96.tar.gz
gentoo-a6b6eb5227c85e07ce6c47ad71d5188e08447a96.tar.bz2
gentoo-a6b6eb5227c85e07ce6c47ad71d5188e08447a96.zip
app-i18n/uim: fix build on x86
Closes: https://bugs.gentoo.org/661806 Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r--app-i18n/uim/uim-1.8.8.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-i18n/uim/uim-1.8.8.ebuild b/app-i18n/uim/uim-1.8.8.ebuild
index fc0e9ef744ea..f7bb3ff01581 100644
--- a/app-i18n/uim/uim-1.8.8.ebuild
+++ b/app-i18n/uim/uim-1.8.8.ebuild
@@ -3,7 +3,7 @@
EAPI="6"
-inherit autotools elisp-common gnome2-utils
+inherit autotools elisp-common flag-o-matic gnome2-utils
DESCRIPTION="A multilingual input method framework"
HOMEPAGE="https://github.com/uim/uim"
@@ -95,6 +95,8 @@ src_prepare() {
sed -i "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac
# fix build with >=dev-scheme/chicken-4, bug #656852
touch scm/json-parser-expanded.scm
+ # fix build with "-march=pentium4 -O2", bug #661806
+ is-flagq "-march=pentium4?" && append-cflags $(test-flags-CC -fno-inline-small-functions)
eautoreconf
}