From 6a3169028cc7f89db42e4e0f614dec92d3e099f4 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 2 Jan 2022 18:49:14 +0100 Subject: [PATCH] toolchain.eclass: remove freebsd-libc Closes: https://github.com/gentoo/gentoo/pull/23628 Signed-off-by: David Seifert --- eclass/toolchain.eclass | 6 ------ 1 file changed, 6 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 29657c6446b99..61718f0d9a011 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