summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/mupdf/mupdf-9999.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-text/mupdf/mupdf-9999.ebuild b/app-text/mupdf/mupdf-9999.ebuild
index d275c29d17d5..4f8613a1fc12 100644
--- a/app-text/mupdf/mupdf-9999.ebuild
+++ b/app-text/mupdf/mupdf-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit eutils git-2 multilib toolchain-funcs
+inherit eutils flag-o-matic git-2 multilib toolchain-funcs
DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C"
HOMEPAGE="http://mupdf.com/"
@@ -38,6 +38,8 @@ DEPEND="${RDEPEND}
x11-libs/libxcb[static-libs] )"
src_prepare() {
+ use hppa && append-cflags -ffunction-sections
+
rm -rf thirdparty || die
epatch \