diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-05-18 00:10:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-05-18 00:10:51 +0100 |
commit | eccb70a7f91b2d22582587f26d1a28bb31408b45 (patch) | |
tree | 3223e1fd54201bcf4ebecac6fbe87361cbe643e2 /eclass | |
parent | a2810985afabcc31d3eace5e61d8ea25b852ba17 (diff) |
gentoo resync : 18.05.2019
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/Manifest.gz | bin | 36799 -> 36801 bytes | |||
-rw-r--r-- | eclass/kde5-functions.eclass | 5 | ||||
-rw-r--r-- | eclass/leechcraft.eclass | 4 | ||||
-rw-r--r-- | eclass/mozcoreconf-v6.eclass | 2 | ||||
-rw-r--r-- | eclass/multilib-build.eclass | 40 | ||||
-rw-r--r-- | eclass/ruby-ng.eclass | 4 | ||||
-rw-r--r-- | eclass/toolchain-funcs.eclass | 3 | ||||
-rw-r--r-- | eclass/toolchain.eclass | 6 |
8 files changed, 40 insertions, 24 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz Binary files differindex df39c12e744e..6c60442b10b5 100644 --- a/eclass/Manifest.gz +++ b/eclass/Manifest.gz diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass index 24ecf60e31ad..20afa25684f8 100644 --- a/eclass/kde5-functions.eclass +++ b/eclass/kde5-functions.eclass @@ -39,9 +39,10 @@ case ${CATEGORY} in ;; kde-plasma) [[ ${PV} = 5.14.5 ]] && : ${FRAMEWORKS_MINIMAL:=5.52.0} - if [[ ${KDE_BUILD_TYPE} = live && ${PV} != 5.??.49* ]]; then + [[ ${PV} = 5.15.5 ]] && : ${FRAMEWORKS_MINIMAL:=5.57.0} + if [[ ${KDE_BUILD_TYPE} = live ]]; then : ${FRAMEWORKS_MINIMAL:=9999} - : ${QT_MINIMAL:=5.12.1} + : ${QT_MINIMAL:=5.12.3} fi ;; kde-apps) diff --git a/eclass/leechcraft.eclass b/eclass/leechcraft.eclass index 8e3c69f8c61c..16b4f8d4c93e 100644 --- a/eclass/leechcraft.eclass +++ b/eclass/leechcraft.eclass @@ -7,7 +7,7 @@ # @AUTHOR: # 0xd34df00d@gmail.com # NightNord@niifaq.ru -# @SUPPORTED_EAPIS: 6 +# @SUPPORTED_EAPIS: 6 7 # @BLURB: Common functions and setup utilities for the LeechCraft app # @DESCRIPTION: # The leechcraft eclass contains a common set of functions and steps @@ -22,7 +22,7 @@ # Only EAPI >=6 is supported case ${EAPI:-0} in - 6) ;; + 6|7) ;; *) die "EAPI not supported, bug ebuild mantainer" ;; esac diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass index 945b95c31b32..efc9a83d84f1 100644 --- a/eclass/mozcoreconf-v6.eclass +++ b/eclass/mozcoreconf-v6.eclass @@ -240,7 +240,7 @@ mozconfig_init() { # We need to append flags for gcc-6 support if [[ $(gcc-major-version) -ge 6 ]]; then - append-cxxflags -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns -fno-schedule-insns2 + append-cxxflags -flifetime-dse=1 fi # Use the MOZILLA_FIVE_HOME for the rpath diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass index 1065533ae5ba..00f02df98fdf 100644 --- a/eclass/multilib-build.eclass +++ b/eclass/multilib-build.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 2013-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: multilib-build.eclass @@ -45,8 +45,8 @@ _MULTILIB_FLAGS=( abi_mips_n32:n32 abi_mips_n64:n64 abi_mips_o32:o32 - abi_ppc_32:ppc,ppc_aix,ppc_macos - abi_ppc_64:ppc64 +# abi_ppc_32:ppc,ppc_aix,ppc_macos +# abi_ppc_64:ppc64 abi_riscv_lp64d:lp64d abi_riscv_lp64:lp64 abi_s390_32:s390 @@ -481,30 +481,38 @@ multilib_prepare_wrappers() { #elif defined(__i386__) /* plain x86 */ # error "abi_x86_32 not supported by the package." #elif defined(__mips__) -# if(_MIPS_SIM == _ABIN32) /* n32 */ -# error "abi_mips_n32 not supported by the package." -# elif(_MIPS_SIM == _ABI64) /* n64 */ -# error "abi_mips_n64 not supported by the package." -# elif(_MIPS_SIM == _ABIO32) /* o32 */ -# error "abi_mips_o32 not supported by the package." -# endif +# if(_MIPS_SIM == _ABIN32) /* n32 */ +# error "abi_mips_n32 not supported by the package." +# elif(_MIPS_SIM == _ABI64) /* n64 */ +# error "abi_mips_n64 not supported by the package." +# elif(_MIPS_SIM == _ABIO32) /* o32 */ +# error "abi_mips_o32 not supported by the package." +# endif +#elif defined(__riscv) +# if defined(__riscv_float_abi_double) +# error "abi_riscv_lp64d not supported by the package." +# elif defined(__riscv_float_abi_single) +# error "abi_riscv_lp64f not supported by the package." +# else +# error "abi_riscv_lp64 not supported by the package." +# endif #elif defined(__sparc__) # if defined(__arch64__) -# error "abi_sparc_64 not supported by the package." +# error "abi_sparc_64 not supported by the package." # else -# error "abi_sparc_32 not supported by the package." +# error "abi_sparc_32 not supported by the package." # endif #elif defined(__s390__) # if defined(__s390x__) -# error "abi_s390_64 not supported by the package." +# error "abi_s390_64 not supported by the package." # else -# error "abi_s390_32 not supported by the package." +# error "abi_s390_32 not supported by the package." # endif #elif defined(__powerpc__) || defined(__ppc__) # if defined(__powerpc64__) || defined(__ppc64__) -# error "abi_ppc_64 not supported by the package." +# error "abi_ppc_64 not supported by the package." # else -# error "abi_ppc_32 not supported by the package." +# error "abi_ppc_32 not supported by the package." # endif #elif defined(SWIG) /* https://sourceforge.net/p/swig/bugs/799/ */ # error "Native ABI not supported by the package." diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index f036d476069f..21cbc5d99595 100644 --- a/eclass/ruby-ng.eclass +++ b/eclass/ruby-ng.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: ruby-ng.eclass @@ -113,7 +113,7 @@ _ruby_get_all_impls() { for i in ${USE_RUBY}; do case ${i} in # removed implementations - ruby19|ruby20|ruby21|ruby22|jruby) + ruby19|ruby20|ruby21|ruby22|ruby23|jruby) ;; *) echo ${i};; diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index 27324b0ca607..2e027015c684 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass/toolchain-funcs.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 2002-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: toolchain-funcs.eclass @@ -695,6 +695,7 @@ tc-endian() { mips*) echo big;; powerpc*le) echo little;; powerpc*) echo big;; + riscv*) echo little;; s390*) echo big;; sh*b*) echo big;; sh*) echo little;; diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 17850db43045..9df8ecf69bea 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -174,6 +174,7 @@ if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then tc_version_is_at_least 8.0 && IUSE+=" systemtap" TC_FEATURES+=(systemtap) tc_version_is_at_least 9.0 && IUSE+=" d" + tc_version_is_at_least 9.1 && IUSE+=" lto" fi SLOT="${GCC_CONFIG_VER}" @@ -993,6 +994,11 @@ toolchain_src_configure() { confgcc+=( --enable-libstdcxx-time ) fi + # Build compiler using LTO + if tc_version_is_at_least 9.1 && use_if_iuse lto ; then + confgcc+=( --with-build-config=bootstrap-lto ) + fi + # Support to disable pch when building libstdcxx if tc_version_is_at_least 6.0 && ! use_if_iuse pch ; then confgcc+=( --disable-libstdcxx-pch ) |