diff options
| author | Sam James <sam@gentoo.org> | 2024-12-06 16:05:32 +0000 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2024-12-06 16:05:32 +0000 |
| commit | 77be24e5295ac8392f5c824eb94e6f4cd59f9c61 (patch) | |
| tree | 373a3d0a3c4eaa77469d8f4eccc029ff96a86377 /app-shells/bash/bash-3.0_p22.ebuild | |
| parent | fb199b8e4c41273a5a1f3015247d5b57ce7dc2c9 (diff) | |
| download | gentoo-77be24e5295ac8392f5c824eb94e6f4cd59f9c61.tar.gz gentoo-77be24e5295ac8392f5c824eb94e6f4cd59f9c61.tar.bz2 gentoo-77be24e5295ac8392f5c824eb94e6f4cd59f9c61.zip | |
app-shells/bash: pass -std=gnu17 conditionally for old too
Old compilers during Prefix bootstrap may not support it but they also
won't be defaulting to C23 so that's fine.
(No real need to do it for old but no harm either and saves it showing
up in greps for @system packages.)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-shells/bash/bash-3.0_p22.ebuild')
| -rw-r--r-- | app-shells/bash/bash-3.0_p22.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app-shells/bash/bash-3.0_p22.ebuild b/app-shells/bash/bash-3.0_p22.ebuild index 432241662256..6ea72c071984 100644 --- a/app-shells/bash/bash-3.0_p22.ebuild +++ b/app-shells/bash/bash-3.0_p22.ebuild @@ -108,7 +108,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) local myconf=( --with-installed-readline=. |
