Diff binutils-libs-2.34-r2 with a binutils-libs-2.35.2
/usr/portage/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild 2024-12-25 14:59:52.815270184 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
PATCH_VER=6 |
|
6 |
PATCH_VER=1 |
|
7 | 7 |
PATCH_DEV=dilfridge |
8 | 8 | |
9 | 9 |
inherit flag-o-matic libtool toolchain-funcs multilib-minimal |
... | ... | |
20 | 20 | |
21 | 21 |
LICENSE="|| ( GPL-3 LGPL-3 )" |
22 | 22 |
SLOT="0/${PV}" |
23 |
IUSE="64-bit-bfd multitarget nls static-libs" |
|
23 |
IUSE="64-bit-bfd cet multitarget nls static-libs" |
|
24 | 24 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos ~x64-solaris" |
25 | 25 | |
26 | 26 |
BDEPEND="nls? ( sys-devel/gettext )" |
... | ... | |
30 | 30 |
>=sys-devel/binutils-config-5 |
31 | 31 |
" |
32 | 32 | |
33 |
PATCHES=("${FILESDIR}"/${PN}-2.35.1-cet.patch) |
|
34 | ||
33 | 35 |
S="${WORKDIR}/${MY_P}" |
34 | 36 | |
35 | 37 |
MULTILIB_WRAPPED_HEADERS=( |
... | ... | |
94 | 96 |
# avoid automagic dependency on (currently prefix) systems |
95 | 97 |
# systems with debuginfod library, bug #754753 |
96 | 98 |
--without-debuginfod |
99 | ||
100 |
# Allow user to opt into CET for host libraries. |
|
101 |
# Ideally we would like automagic-or-disabled here. |
|
102 |
# But the check does not quite work on i686: bug #760926. |
|
103 |
$(use_enable cet) |
|
97 | 104 |
) |
98 | 105 | |
99 | 106 |
# mips can't do hash-style=gnu ... |
... | ... | |
107 | 114 |
&& myconf+=( --without-included-gettext ) \ |
108 | 115 |
|| myconf+=( --disable-nls ) |
109 | 116 | |
117 |
if [[ ${CHOST} == *-darwin* ]] && use nls ; then |
|
118 |
# fix underlinking in opcodes |
|
119 |
sed -i -e 's/@SHARED_LDFLAGS@/@SHARED_LDFLAGS@ -lintl/' \ |
|
120 |
"${S}"/opcodes/Makefile.in || die |
|
121 |
fi |
|
122 | ||
110 | 123 |
ECONF_SOURCE=${S} \ |
111 | 124 |
econf "${myconf[@]}" |
112 | 125 |