commit: 2057943edc9d0d5b45630d1d31fdc9ca1d90aa37
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 6 13:01:29 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 6 13:03:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2057943e
app-shells/bash: pass -std=gnu17 conditionally
Old compilers during Prefix bootstrap may not support it but they also
won't be defaulting to C23 so that's fine.
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-shells/bash/bash-5.2_p37.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-shells/bash/bash-5.2_p37.ebuild
b/app-shells/bash/bash-5.2_p37.ebuild
index b30759530f7b..63118c6d019f 100644
--- a/app-shells/bash/bash-5.2_p37.ebuild
+++ b/app-shells/bash/bash-5.2_p37.ebuild
@@ -176,7 +176,7 @@ src_configure() {
# bash 5.3 drops unprototyped functions, earlier versions are
# incompatible with C23.
- append-cflags -std=gnu17
+ append-cflags $(test-flags-CC -std=gnu17)
myconf=(
--disable-profiling