1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

binutils 2.15 turned "no group info for section" from a warning to an error

On FreeBSD 8.x, a dozen of ports exhibit this warning so allow it again

Approved by:	maintainer
This commit is contained in:
Antoine Brodin 2014-12-26 22:02:20 +00:00
parent 477f6d1480
commit 2b3747ab7f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375661
2 changed files with 14 additions and 0 deletions

View File

@ -55,6 +55,10 @@ NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.pre.mk>
.if ! defined(PKGNAMEPREFIX) && ${OSVERSION} < 900000
EXTRA_PATCHES+= ${FILESDIR}/allow-missing-group-info
.endif
# Actual earliest version may differ slightly
.if ${ARCH} != ia64 && ${ARCH} != mips && ${OSVERSION} >= 900044 && !defined(PKGNAMEPREFIX) && (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 34 || ${COMPILER_TYPE} == gcc)
CONFIGURE_ARGS+= --enable-gold --enable-plugins

View File

@ -0,0 +1,10 @@
--- bfd/elf.c.orig 2014-12-23 08:47:10 UTC
+++ bfd/elf.c
@@ -741,7 +741,6 @@ setup_group (bfd *abfd, Elf_Internal_Shd
{
(*_bfd_error_handler) (_("%B: no group info for section %A"),
abfd, newsect);
- return FALSE;
}
return TRUE;
}