diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-03 22:54:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-03 22:54:31 +0100 |
commit | b0ebd12de22226fd7b69140ccd700efda3eb5fa6 (patch) | |
tree | efcf8d59607e53b8bf2fb453629b05bea28cc3ce /eclass | |
parent | 99547b97ff461f107e03ed5323b6286a66677bce (diff) |
gentoo auto-resync : 03:08:2023 - 22:54:30
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/Manifest.gz | bin | 38322 -> 38332 bytes | |||
-rw-r--r-- | eclass/llvm.org.eclass | 4 | ||||
-rw-r--r-- | eclass/toolchain.eclass | 28 |
3 files changed, 11 insertions, 21 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz Binary files differindex 4965f7f3fd19..aa09fdbbf15e 100644 --- a/eclass/Manifest.gz +++ b/eclass/Manifest.gz diff --git a/eclass/llvm.org.eclass b/eclass/llvm.org.eclass index a3c268dfef80..f3f2d1c1b0c9 100644 --- a/eclass/llvm.org.eclass +++ b/eclass/llvm.org.eclass @@ -72,8 +72,8 @@ if [[ -z ${_LLVM_SOURCE_TYPE+1} ]]; then _LLVM_SOURCE_TYPE=snapshot case ${PV} in - 17.0.0_pre20230722) - EGIT_COMMIT=5f1a388a11ae67c2e5d7a4d1fe45e369a393c572 + 18.0.0_pre20230803) + EGIT_COMMIT=c4bb3e073548cf436d5fa0406e3ae75e94684dec ;; *) die "Unknown snapshot: ${PV}" diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index edd4c89bb00a..cf6cb158a3b3 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -614,14 +614,11 @@ toolchain_src_prepare() { done fi - # >=gcc-4 - if [[ -x contrib/gcc_update ]] ; then - einfo "Touching generated files" - ./contrib/gcc_update --touch | \ - while read f ; do - einfo " ${f%%...}" - done - fi + einfo "Touching generated files" + ./contrib/gcc_update --touch | \ + while read f ; do + einfo " ${f%%...}" + done } do_gcc_gentoo_patches() { @@ -742,16 +739,10 @@ setup_multilib_osdirnames() { config+="/t-linux64" local sed_args=() - if tc_version_is_at_least 4.6 ; then - sed_args+=( -e 's:$[(]call if_multiarch[^)]*[)]::g' ) - fi + sed_args+=( -e 's:$[(]call if_multiarch[^)]*[)]::g' ) if [[ ${SYMLINK_LIB} == "yes" ]] ; then einfo "Updating multilib directories to be: ${libdirs}" - if tc_version_is_at_least 4.6.4 || tc_version_is_at_least 4.7 ; then - sed_args+=( -e '/^MULTILIB_OSDIRNAMES.*lib32/s:[$][(]if.*):../lib32:' ) - else - sed_args+=( -e "/^MULTILIB_OSDIRNAMES/s:=.*:= ${libdirs}:" ) - fi + sed_args+=( -e '/^MULTILIB_OSDIRNAMES.*lib32/s:[$][(]if.*):../lib32:' ) else einfo "Using upstream multilib; disabling lib32 autodetection" sed_args+=( -r -e 's:[$][(]if.*,(.*)[)]:\1:' ) @@ -869,8 +860,7 @@ toolchain_src_configure() { # - After discussing in #gcc, we concluded that =yes,extra,rtl makes # more sense when a user explicitly requests USE=debug. If rtl is too slow, # we can change this to yes,extra. - local off=$(tc_version_is_at_least 4.0 && echo release || echo no) - confgcc+=( --enable-checking="${GCC_CHECKS_LIST:-$(usex debug yes,extra,rtl ${off})}" ) + confgcc+=( --enable-checking="${GCC_CHECKS_LIST:-$(usex debug yes,extra,rtl release)}" ) fi fi @@ -1879,7 +1869,7 @@ toolchain_src_install() { if ! is_crosscompile; then # Rename the main go binaries as we don't want to clobber dev-lang/go # when gcc-config runs. bug #567806 - if tc_version_is_at_least 5 && is_go ; then + if is_go ; then for x in go gofmt; do mv ${x} ${x}-${GCCMAJOR} || die done |