diff options
Diffstat (limited to 'app-shells/bash/bash-4.0_p44.ebuild')
| -rw-r--r-- | app-shells/bash/bash-4.0_p44.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app-shells/bash/bash-4.0_p44.ebuild b/app-shells/bash/bash-4.0_p44.ebuild index 83095fd10267..7b24d2dbfe79 100644 --- a/app-shells/bash/bash-4.0_p44.ebuild +++ b/app-shells/bash/bash-4.0_p44.ebuild @@ -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 @@ -101,6 +101,10 @@ src_configure() { # incompatible with C23. append-cflags $(test-flags-CC -std=gnu17) + if tc-is-cross-compiler; then + export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" + fi + local myconf=( --with-installed-readline=. |
