diff options
author | Sam James <sam@gentoo.org> | 2024-12-06 13:01:29 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-12-06 13:03:28 +0000 |
commit | 2057943edc9d0d5b45630d1d31fdc9ca1d90aa37 (patch) | |
tree | 07aff43eecc7fc76a53899229ae7d80386c4fe9f /app-shells | |
parent | sys-libs/readline: pass -std=gnu17 conditionally (diff) | |
download | gentoo-2057943edc9d0d5b45630d1d31fdc9ca1d90aa37.tar.gz gentoo-2057943edc9d0d5b45630d1d31fdc9ca1d90aa37.tar.bz2 gentoo-2057943edc9d0d5b45630d1d31fdc9ca1d90aa37.zip |
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@gentoo.org>
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/bash/bash-5.2_p37.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
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 |