Pass -std=c++11 when compiling files that include the ICU headers. Without this flag, compilation fails and causes Boost's build system to remove ICU support. Note that $(pkg-config --variable=CXXFLAGS icu-uc) includes "-std=c++11", but Boost's build system does not use 'pkg-config'. --- boost_1_66_0/libs/locale/build/Jamfile.v2.orig 2017-12-13 18:56:44.000000000 -0500 +++ boost_1_66_0/libs/locale/build/Jamfile.v2 2018-04-08 15:18:58.673025760 -0400 @@ -65,8 +65,8 @@ if $(ICU_LINK) { - ICU_OPTS = $(ICU_PATH)/include $(ICU_LINK) $(ICU_PATH)/bin shared ; - ICU64_OPTS = $(ICU_PATH)/include $(ICU_LINK) $(ICU_PATH)/bin64 shared ; + ICU_OPTS = $(ICU_PATH)/include -std=c++11 $(ICU_LINK) $(ICU_PATH)/bin shared ; + ICU64_OPTS = $(ICU_PATH)/include -std=c++11 $(ICU_LINK) $(ICU_PATH)/bin64 shared ; } else { @@ -121,6 +121,7 @@ explicit icuuc icudt icuin ; ICU_OPTS = $(ICU_PATH)/include + -std=c++11 icuuc/shared/shared icudt/shared/shared icuin/shared/shared @@ -180,6 +181,7 @@ explicit icuuc_64 icudt_64 icuin_64 ; ICU64_OPTS = $(ICU_PATH)/include + -std=c++11 icuuc_64/shared/shared icudt_64/shared/shared icuin_64/shared/shared --- boost_1_66_0/libs/regex/build/Jamfile.v2.orig 2017-12-13 18:56:48.000000000 -0500 +++ boost_1_66_0/libs/regex/build/Jamfile.v2 2018-04-08 15:20:40.865532505 -0400 @@ -44,7 +44,7 @@ if $(ICU_LINK) { - ICU_OPTS = $(ICU_PATH)/include $(ICU_LINK) $(ICU_PATH)/bin BOOST_HAS_ICU=1 shared ; + ICU_OPTS = $(ICU_PATH)/include -std=c++11 $(ICU_LINK) $(ICU_PATH)/bin BOOST_HAS_ICU=1 shared ; } else { @@ -78,6 +78,7 @@ ICU_OPTS = $(ICU_PATH)/include + -std=c++11 shared:icuuc/shared shared:icudt/shared shared:icuin/shared d=dff31d41d945bf4b25ad3014dac32561bfbb33a0'>mailmap: Update for self....Mathieu Othacehe 2020-05-13mailmap: Update entries for Nikita....nikita 2020-03-28Update email address and Savannah handle for Amin Bandali....Amin Bandali 2020-02-09Update e-mail address for Jakob L. Kreuze....Tobias Geerinckx-Rice 2020-01-17Update email address for Amin Bandali....Amin Bandali 2019-12-19Update email for Brett Gilio....Brett Gilio 2019-12-18gnu: leocad: Update to 19.07.1....Eric Bavier 2019-05-03Correct email address for ison....ison 2019-03-18Correct name and email address for ng0....ng0 2019-01-21Update .mailmap....Mathieu Othacehe