commit: 6a3169028cc7f89db42e4e0f614dec92d3e099f4 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sun Jan 2 17:49:14 2022 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun Jan 2 17:49:14 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a316902
toolchain.eclass: remove freebsd-libc Closes: https://github.com/gentoo/gentoo/pull/23628 Signed-off-by: David Seifert <soap <AT> gentoo.org> eclass/toolchain.eclass | 6 ------ 1 file changed, 6 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 29657c6446b9..61718f0d9a01 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -916,7 +916,6 @@ toolchain_src_configure() { # Undoing it here. confgcc+=( --disable-libstdcxx-time ) ;; - *-freebsd*) needed_libc=freebsd-lib;; *-gnu*) needed_libc=glibc;; *-klibc) needed_libc=klibc;; *-musl*) needed_libc=musl;; @@ -985,9 +984,6 @@ toolchain_src_configure() { --enable-clocale=gnu ) ;; - *-freebsd*) - confgcc+=( --enable-__cxa_atexit ) - ;; *-solaris*) confgcc+=( --enable-__cxa_atexit ) ;; @@ -2275,8 +2271,6 @@ hardened_gcc_works() { # $gcc_cv_ld_pie is unreliable as it simply take the output of # `ld --help | grep -- -pie`, that reports the option in all cases, also if # the loader doesn't actually load the resulting executables. - # To avoid breakage, blacklist FreeBSD here at least - [[ ${CTARGET} == *-freebsd* ]] && return 1 want_pie || return 1 _tc_use_if_iuse nopie && return 1