Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 02 Jan 2022 17:49:47
Message-Id: 1641145754.6a3169028cc7f89db42e4e0f614dec92d3e099f4.soap@gentoo
1 commit: 6a3169028cc7f89db42e4e0f614dec92d3e099f4
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 2 17:49:14 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 2 17:49:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a316902
7
8 toolchain.eclass: remove freebsd-libc
9
10 Closes: https://github.com/gentoo/gentoo/pull/23628
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 eclass/toolchain.eclass | 6 ------
14 1 file changed, 6 deletions(-)
15
16 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
17 index 29657c6446b9..61718f0d9a01 100644
18 --- a/eclass/toolchain.eclass
19 +++ b/eclass/toolchain.eclass
20 @@ -916,7 +916,6 @@ toolchain_src_configure() {
21 # Undoing it here.
22 confgcc+=( --disable-libstdcxx-time )
23 ;;
24 - *-freebsd*) needed_libc=freebsd-lib;;
25 *-gnu*) needed_libc=glibc;;
26 *-klibc) needed_libc=klibc;;
27 *-musl*) needed_libc=musl;;
28 @@ -985,9 +984,6 @@ toolchain_src_configure() {
29 --enable-clocale=gnu
30 )
31 ;;
32 - *-freebsd*)
33 - confgcc+=( --enable-__cxa_atexit )
34 - ;;
35 *-solaris*)
36 confgcc+=( --enable-__cxa_atexit )
37 ;;
38 @@ -2275,8 +2271,6 @@ hardened_gcc_works() {
39 # $gcc_cv_ld_pie is unreliable as it simply take the output of
40 # `ld --help | grep -- -pie`, that reports the option in all cases, also if
41 # the loader doesn't actually load the resulting executables.
42 - # To avoid breakage, blacklist FreeBSD here at least
43 - [[ ${CTARGET} == *-freebsd* ]] && return 1
44
45 want_pie || return 1
46 _tc_use_if_iuse nopie && return 1