dev-lisp/gcl: build w/ -std=gnu17

We already have a bunch of other workarounds piled up here.

Closes: https://bugs.gentoo.org/947758
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-11-30 05:59:48 +00:00
parent e9708adc2a
commit 57b6221e28
3 changed files with 4 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -34,6 +34,7 @@ PATCHES=(
src_configure() {
filter-lto # bug #931082
strip-flags
append-cflags -std=gnu17 # bug #947758
filter-flags -fstack-protector -fstack-protector-all
# breaks linking on multiple defined syms
#append-cflags $(test-flags-CC -fgnu89-inline)

View File

@@ -29,6 +29,7 @@ DEPEND="${RDEPEND}
src_configure() {
filter-lto # bug #931082
strip-flags
append-cflags -std=gnu17 # bug #947758
filter-flags -fstack-protector -fstack-protector-all
# breaks linking on multiple defined syms
#append-cflags $(test-flags-CC -fgnu89-inline)

View File

@@ -37,6 +37,7 @@ S="${WORKDIR}"/${PN}-Version_2_6_15pre3/${PN}
src_configure() {
filter-lto # bug #931082
strip-flags
append-cflags -std=gnu17 # bug #947758
filter-flags -fstack-protector -fstack-protector-all
local tcl=""