summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMagnus Granberg <zorry@gentoo.org>2017-02-02 23:55:07 +0100
committerMagnus Granberg <zorry@gentoo.org>2017-02-02 23:55:07 +0100
commit4fb479392663b9ea66a8eee9ce39b085e9bd1427 (patch)
tree6d160d4e3b291a0680dc2ea66dbd7c05e173390d /eclass
parentsys-devel/gcc: missed to bump the gentoo patchet to 1.3 for 5.4.0-r3 (diff)
downloadgentoo-4fb479392663b9ea66a8eee9ce39b085e9bd1427.tar.gz
gentoo-4fb479392663b9ea66a8eee9ce39b085e9bd1427.tar.bz2
gentoo-4fb479392663b9ea66a8eee9ce39b085e9bd1427.zip
toolchain.eclass: pax-mark java compiler #574808
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 0d8148ffadf3..f2b1a865fe73 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1835,6 +1835,12 @@ toolchain_src_install() {
pax-mark -r "${D}${PREFIX}/libexec/gcc/${CTARGET}/${GCC_CONFIG_VER}/cc1"
pax-mark -r "${D}${PREFIX}/libexec/gcc/${CTARGET}/${GCC_CONFIG_VER}/cc1plus"
fi
+
+ # Disable MMROTECT so java works. #574808
+ if is_gcj ; then
+ pax-mark -m "${D}${PREFIX}/libexec/gcc/${CTARGET}/${GCC_CONFIG_VER}/ecj1"
+ pax-mark -m "${D}${PREFIX}/${CTARGET}/gcc-bin/${GCC_CONFIG_VER}/gij"
+ fi
}
# Move around the libs to the right location. For some reason,