diff options
author | Sam James <sam@gentoo.org> | 2024-11-16 10:05:44 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-11-16 10:07:48 +0000 |
commit | 5edc895efb06da84c7f3c34b1b40194ef21fc96a (patch) | |
tree | 7279994cf83ef8067e4c937694015f87b0bc3825 /sys-libs | |
parent | dev-python/weasyprint: Remove old (diff) | |
download | gentoo-5edc895efb06da84c7f3c34b1b40194ef21fc96a.tar.gz gentoo-5edc895efb06da84c7f3c34b1b40194ef21fc96a.tar.bz2 gentoo-5edc895efb06da84c7f3c34b1b40194ef21fc96a.zip |
=sys-libs/binutils-libs: build with -std=gnu17
Doesn't build with gnu23 which is the default now in GCC trunk. I've
sent patches for 9999 and we may backport those once merged but for now
(and for older versions, probably forever), let's pass -std=gnu17 to keep
stuff building.
Done for sys-devel/binutils itself in b38f3cada5bf53a1c255fe6f700455884a09fa78.
Bug: https://sourceware.org/PR32372
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs')
11 files changed, 33 insertions, 0 deletions
diff --git a/sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild index 844737990ff6..952c057bfa84 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild @@ -54,6 +54,9 @@ pkgversion() { } multilib_src_configure() { + # https://sourceware.org/PR32372 + append-cflags -std=gnu17 + filter-lto local myconf=( diff --git a/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild index d9a5e70a9136..c4443d6f5e5c 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild @@ -56,6 +56,9 @@ pkgversion() { } multilib_src_configure() { + # https://sourceware.org/PR32372 + append-cflags -std=gnu17 + filter-lto local myconf=( diff --git a/sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild index 3e2319ca786d..ed7215c3e337 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild @@ -54,6 +54,9 @@ pkgversion() { } multilib_src_configure() { + # https://sourceware.org/PR32372 + append-cflags -std=gnu17 + filter-lto local myconf=( diff --git a/sys-libs/binutils-libs/binutils-libs-2.37_p1-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.37_p1-r2.ebuild index 80a2ccfbaf85..2434f02290e8 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.37_p1-r2.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.37_p1-r2.ebuild @@ -55,6 +55,9 @@ pkgversion() { } multilib_src_configure() { + # https://sourceware.org/PR32372 + append-cflags -std=gnu17 + filter-lto local myconf=( diff --git a/sys-libs/binutils-libs/binutils-libs-2.38-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.38-r2.ebuild index 64d59c99a5fd..95b5e398f899 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.38-r2.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.38-r2.ebuild @@ -69,6 +69,9 @@ pkgversion() { } multilib_src_configure() { + # https://sourceware.org/PR32372 + append-cflags -std=gnu17 + filter-lto local myconf=( diff --git a/sys-libs/binutils-libs/binutils-libs-2.39-r5.ebuild b/sys-libs/binutils-libs/binutils-libs-2.39-r5.ebuild index 6e0753ca216a..143416d9fb88 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.39-r5.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.39-r5.ebuild @@ -69,6 +69,9 @@ pkgversion() { } multilib_src_configure() { + # https://sourceware.org/PR32372 + append-cflags -std=gnu17 + filter-lto local myconf=( diff --git a/sys-libs/binutils-libs/binutils-libs-2.40-r7.ebuild b/sys-libs/binutils-libs/binutils-libs-2.40-r7.ebuild index f57205fd73f7..9fd6d71b3391 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.40-r7.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.40-r7.ebuild @@ -73,6 +73,9 @@ pkgversion() { } multilib_src_configure() { + # https://sourceware.org/PR32372 + append-cflags -std=gnu17 + filter-lto local myconf=( diff --git a/sys-libs/binutils-libs/binutils-libs-2.41-r5.ebuild b/sys-libs/binutils-libs/binutils-libs-2.41-r5.ebuild index f298f4f1f575..a75719959140 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.41-r5.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.41-r5.ebuild @@ -75,6 +75,9 @@ pkgversion() { } multilib_src_configure() { + # https://sourceware.org/PR32372 + append-cflags -std=gnu17 + filter-lto local myconf=( diff --git a/sys-libs/binutils-libs/binutils-libs-2.42-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.42-r2.ebuild index c49fead1d74f..a24ffb524649 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.42-r2.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.42-r2.ebuild @@ -75,6 +75,9 @@ pkgversion() { } multilib_src_configure() { + # https://sourceware.org/PR32372 + append-cflags -std=gnu17 + filter-lto # Workaround for lld-17 (bug #914640) diff --git a/sys-libs/binutils-libs/binutils-libs-2.43-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.43-r2.ebuild index 9bb3ae91acaf..45528f13a587 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.43-r2.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.43-r2.ebuild @@ -80,6 +80,9 @@ pkgversion() { } multilib_src_configure() { + # https://sourceware.org/PR32372 + append-cflags -std=gnu17 + filter-lto # Workaround for lld-17 (bug #914640) diff --git a/sys-libs/binutils-libs/binutils-libs-2.43-r3.ebuild b/sys-libs/binutils-libs/binutils-libs-2.43-r3.ebuild index b0746db92b98..9fcc647b4161 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.43-r3.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.43-r3.ebuild @@ -80,6 +80,9 @@ pkgversion() { } multilib_src_configure() { + # https://sourceware.org/PR32372 + append-cflags -std=gnu17 + filter-lto # Workaround for lld-17 (bug #914640) |