Сравнение binutils-hppa64-2.38-r2 с binutils-hppa64-2.39-r5

/usr/portage/sys-devel/binutils-hppa64/binutils-hppa64-2.39-r5.ebuild 2023-10-09 14:52:35.476368501 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
......
11 11
HOMEPAGE="https://sourceware.org/binutils/"
12 12

  
13 13
LICENSE="GPL-3+"
14
IUSE="cet default-gold doc +gold multitarget +nls pgo +plugins static-libs test vanilla"
14
IUSE="cet default-gold doc gold gprofng multitarget +nls pgo +plugins static-libs test vanilla"
15 15
REQUIRED_USE="default-gold? ( gold )"
16 16

  
17 17
# Variables that can be set here  (ignored for live ebuilds)
......
22 22
# PATCH_DEV          - Use download URI https://dev.gentoo.org/~{PATCH_DEV}/distfiles/...
23 23
#                      for the patchsets
24 24

  
25
PATCH_VER=4
25
PATCH_VER=6
26 26
PATCH_DEV=dilfridge
27 27

  
28 28
if [[ ${PV} == 9999* ]]; then
......
94 94
		local dir=${P%_p?}
95 95
		dir=${dir/-hppa64/}
96 96

  
97
		S="${WORKDIR}"/${dir}
97
		S=${WORKDIR}/${dir}
98 98
	fi
99 99

  
100 100
	cd "${WORKDIR}" || die
......
205 205

  
206 206
	myconf+=( --with-system-zlib )
207 207

  
208
	# For bi-arch systems, enable a 64bit bfd.  This matches the bi-arch
208
	# For bi-arch systems, enable a 64bit bfd. This matches the bi-arch
209 209
	# logic in toolchain.eclass. bug #446946
210 210
	#
211 211
	# We used to do it for everyone, but it's slow on 32bit arches. bug #438522
......
250 250
		--enable-install-libiberty
251 251
		# Available from 2.35 on
252 252
		--enable-textrel-check=warning
253
		# Works better than vapier's patch., bug #808787
253

  
254
		# These hardening options are available from 2.39+ but
255
		# they unconditionally enable the behaviour even on arches
256
		# where e.g. execstacks can't be avoided.
257
		# See https://sourceware.org/bugzilla/show_bug.cgi?id=29592.
258
		#--enable-warn-execstack
259
		#--enable-warn-rwx-segments
260
		#--disable-default-execstack (or is it --enable-default-execstack=no? docs are confusing)
261

  
262
		# Things to think about
263
		#--enable-deterministic-archives
264

  
265
		# Works better than vapier's patch, bug #808787
254 266
		--enable-new-dtags
267

  
268
		--disable-jansson
255 269
		--disable-werror
256 270
		--with-bugurl="$(toolchain-binutils_bugurl)"
257 271
		--with-pkgversion="$(toolchain-binutils_pkgversion)"
258 272
		$(use_enable static-libs static)
259
		# Disable modules that are in a combined binutils/gdb tree. bug #490566
273
		# Disable modules that are in a combined binutils/gdb tree, bug #490566
260 274
		--disable-{gdb,libdecnumber,readline,sim}
261 275
		# Strip out broken static link flags.
262 276
		# https://gcc.gnu.org/PR56750
......
265 279
		# {native,cross}/binutils, binutils-libs. bug #666100
266 280
		--with-extra-soversion-suffix=gentoo-${CATEGORY}-${PN}-$(usex multitarget mt st)
267 281

  
268
		# avoid automagic dependency on (currently prefix) systems
282
		# Avoid automagic dependency on (currently prefix) systems
269 283
		# systems with debuginfod library, bug #754753
270 284
		--without-debuginfod
271 285

  
286
		# Avoid automagic dev-libs/msgpack dep, bug #865875
287
		--without-msgpack
288

  
272 289
		# Allow user to opt into CET for host libraries.
273 290
		# Ideally we would like automagic-or-disabled here.
274 291
		# But the check does not quite work on i686: bug #760926.
275 292
		$(use_enable cet)
276 293

  
294
		# We can enable this by default in future, but it's brand new
295
		# in 2.39 with several bugs:
296
		# - Doesn't build on musl (https://sourceware.org/bugzilla/show_bug.cgi?id=29477)
297
		# - No man pages (https://sourceware.org/bugzilla/show_bug.cgi?id=29521)
298
		# - Broken at runtime without Java (https://sourceware.org/bugzilla/show_bug.cgi?id=29479)
299
		# - binutils-config (and this ebuild?) needs adaptation first (https://bugs.gentoo.org/865113)
300
		$(use_enable gprofng)
277 301
	)
278 302

  
279 303
	if ! is_cross ; then
Спасибо!