From 1da5e9d810f1724e065df07ddc7fd0a3620fbf4f Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 17 May 2022 22:55:10 +0000 Subject: 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 --- 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 -- cgit v1.2.3-65-gdbad