summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-05-17 22:57:26 +0000
committerSam James <sam@gentoo.org>2022-05-17 22:59:06 +0000
commit7b1f03036c619f10255a08d65828248a2ab0eba1 (patch)
treebb635dbf0e32d5abbd74c90cfbdd385642798ffc /dev-libs/icu
parentdev-libs/icu-layoutex: explain append-cxxflags for C++14 (diff)
downloadgentoo-7b1f03036c619f10255a08d65828248a2ab0eba1.tar.gz
gentoo-7b1f03036c619f10255a08d65828248a2ab0eba1.tar.bz2
gentoo-7b1f03036c619f10255a08d65828248a2ab0eba1.zip
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@gentoo.org>
Diffstat (limited to 'dev-libs/icu')
-rw-r--r--dev-libs/icu/icu-71.1.ebuild3
1 files changed, 3 insertions, 0 deletions
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