summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-05-04 12:02:00 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-05-04 12:02:00 +0100
commiteab5731cdf11d4ae8cdf111461d46fd96c5bdd37 (patch)
treece35c6d01b5ff5de95c3a20fef853b9a6518ad2e /eclass
parentb7ebc951da8800f711142f69d9d958bde67a112d (diff)
gentoo resync : 04.05.2019
Diffstat (limited to 'eclass')
-rw-r--r--eclass/Manifest.gzbin36797 -> 36803 bytes
-rw-r--r--eclass/mozconfig-v6.60.eclass2
-rw-r--r--eclass/multilib.eclass14
-rw-r--r--eclass/toolchain.eclass4
-rw-r--r--eclass/xfconf.eclass3
-rw-r--r--eclass/xorg-2.eclass8
-rw-r--r--eclass/xorg-3.eclass6
7 files changed, 31 insertions, 6 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz
index 074a05ec5105..dd81d4099fc5 100644
--- a/eclass/Manifest.gz
+++ b/eclass/Manifest.gz
Binary files differ
diff --git a/eclass/mozconfig-v6.60.eclass b/eclass/mozconfig-v6.60.eclass
index 89c4a71fb104..2a6e0e07bb60 100644
--- a/eclass/mozconfig-v6.60.eclass
+++ b/eclass/mozconfig-v6.60.eclass
@@ -361,8 +361,6 @@ mozconfig_config() {
if use clang ; then
# https://bugzilla.mozilla.org/show_bug.cgi?id=1423822
mozconfig_annotate 'elf-hack is broken when using Clang' --disable-elf-hack
- elif use arm ; then
- mozconfig_annotate 'elf-hack is broken on arm' --disable-elf-hack
fi
# Modifications to better support ARM, bug 553364
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index 393f0db073c3..63bde5cbb601 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.eclass
@@ -385,6 +385,20 @@ multilib_env() {
: ${MULTILIB_ABIS=ppc64 ppc}
: ${DEFAULT_ABI=ppc64}
;;
+ riscv64*)
+ export CFLAGS_lp64d=${CFLAGS_lp64d--mabi=lp64d}
+ export CHOST_lp64d=${CTARGET}
+ export CTARGET_lp64d=${CTARGET}
+ export LIBDIR_lp64d="lib64/lp64d"
+
+ export CFLAGS_lp64=${CFLAGS_lp64--mabi=lp64}
+ export CHOST_lp64=${CTARGET}
+ export CTARGET_lp64=${CTARGET}
+ export LIBDIR_lp64="lib64/lp64"
+
+ : ${MULTILIB_ABIS=lp64d lp64}
+ : ${DEFAULT_ABI=lp64d}
+ ;;
s390x*)
export CFLAGS_s390=${CFLAGS_s390--m31} # the 31 is not a typo
export CHOST_s390=${CTARGET/s390x/s390}
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index f5daa73233db..17850db43045 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -167,11 +167,13 @@ if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then
IUSE+=" graphite +sanitize" TC_FEATURES+=(graphite)
tc_version_is_between 4.9 8 && IUSE+=" cilk"
tc_version_is_at_least 4.9 && IUSE+=" +vtv"
- tc_version_is_at_least 5.0 && IUSE+=" jit mpx"
+ tc_version_is_at_least 5.0 && IUSE+=" jit"
+ tc_version_is_between 5.0 9 && IUSE+=" mpx"
tc_version_is_at_least 6.0 && IUSE+=" +pie +ssp +pch"
# systemtap is a gentoo-specific switch: bug #654748
tc_version_is_at_least 8.0 &&
IUSE+=" systemtap" TC_FEATURES+=(systemtap)
+ tc_version_is_at_least 9.0 && IUSE+=" d"
fi
SLOT="${GCC_CONFIG_VER}"
diff --git a/eclass/xfconf.eclass b/eclass/xfconf.eclass
index e0942565f6de..57bb96db229e 100644
--- a/eclass/xfconf.eclass
+++ b/eclass/xfconf.eclass
@@ -1,6 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+# @DEAD
+# Removal on 2019-06-02.
+
# @ECLASS: xfconf.eclass
# @MAINTAINER:
# XFCE maintainers <xfce@gentoo.org>
diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass
index 0bba5bb7a369..6034da49bc32 100644
--- a/eclass/xorg-2.eclass
+++ b/eclass/xorg-2.eclass
@@ -172,7 +172,7 @@ fi
# QA: configure: WARNING: unrecognized options: --disable-static
: ${XORG_STATIC:="yes"}
-# Add static-libs useflag where usefull.
+# Add static-libs useflag where useful.
if [[ ${XORG_STATIC} == yes \
&& ${FONT} != yes \
&& ${CATEGORY} != app-doc \
@@ -186,7 +186,11 @@ if [[ ${XORG_STATIC} == yes \
IUSE+=" static-libs"
fi
-DEPEND+=" virtual/pkgconfig"
+if [[ ${XORG_MULTILIB} == yes ]]; then
+ DEPEND+=" virtual/pkgconfig[${MULTILIB_USEDEP}]"
+else
+ DEPEND+=" virtual/pkgconfig"
+fi
# @ECLASS-VARIABLE: XORG_DRI
# @DESCRIPTION:
diff --git a/eclass/xorg-3.eclass b/eclass/xorg-3.eclass
index 557a65233cb7..6ac90a64d59d 100644
--- a/eclass/xorg-3.eclass
+++ b/eclass/xorg-3.eclass
@@ -140,7 +140,11 @@ if [[ ${XORG_STATIC} == yes \
IUSE+=" static-libs"
fi
-BDEPEND+=" virtual/pkgconfig"
+if [[ ${XORG_MULTILIB} == yes ]]; then
+ BDEPEND+=" virtual/pkgconfig[${MULTILIB_USEDEP}]"
+else
+ BDEPEND+=" virtual/pkgconfig"
+fi
# @ECLASS-VARIABLE: XORG_DRI
# @DESCRIPTION: