commit:     1da5e9d810f1724e065df07ddc7fd0a3620fbf4f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 17 22:55:10 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 17 22:59:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1da5e9d8

dev-libs/icu-layoutex: explain append-cxxflags for C++14

Without context, it looks stale, but it isn't! ICU appends c++11 to flags 
otherwise.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/icu-layoutex/icu-layoutex-71.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-libs/icu-layoutex/icu-layoutex-71.1.ebuild 
b/dev-libs/icu-layoutex/icu-layoutex-71.1.ebuild
index d66b5589337f..5bbdcfa9444e 100644
--- a/dev-libs/icu-layoutex/icu-layoutex-71.1.ebuild
+++ b/dev-libs/icu-layoutex/icu-layoutex-71.1.ebuild
@@ -50,7 +50,9 @@ src_prepare() {
 }
 
 src_configure() {
-       # Use C++14
+       # ICU tries to append -std=c++11 without this, so as of 71.1,
+       # despite GCC 9+ using c++14 (or gnu++14) and GCC 11+ using gnu++17,
+       # we still need this.
        append-cxxflags -std=c++14
 
        if tc-is-cross-compiler; then

Reply via email to