commit: 7b1f03036c619f10255a08d65828248a2ab0eba1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 17 22:57:26 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 17 22:59:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b1f0303
dev-libs/icu: 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/icu-71.1.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dev-libs/icu/icu-71.1.ebuild b/dev-libs/icu/icu-71.1.ebuild
index b12402f07a43..9b9d7ebf841a 100644
--- a/dev-libs/icu/icu-71.1.ebuild
+++ b/dev-libs/icu/icu-71.1.ebuild
@@ -61,6 +61,9 @@ src_prepare() {
}
src_configure() {
+ # 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