summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-01-02 18:49:14 +0100
committerDavid Seifert <soap@gentoo.org>2022-01-02 18:49:14 +0100
commit6a3169028cc7f89db42e4e0f614dec92d3e099f4 (patch)
treef9d19c4ad89341c9e24b273d5a033e2fc6e147b6
parentjava-utils-2.eclass: remove freebsd-libc (diff)
downloadgentoo-6a316902.tar.gz
gentoo-6a316902.tar.bz2
gentoo-6a316902.zip
toolchain.eclass: remove freebsd-libc
Closes: https://github.com/gentoo/gentoo/pull/23628 Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--eclass/toolchain.eclass6
1 files changed, 0 insertions, 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