Jelajahi Sumber

package/boost: add BR2_PACKAGE_BOOST_NOWIDE

nowide library has been added in version 1.73.0 and is enabled by
default

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine 4 tahun lalu
induk
melakukan
118d2c298b
2 mengubah file dengan 8 tambahan dan 2 penghapusan
  1. 5 0
      package/boost/Config.in
  2. 3 2
      package/boost/boost.mk

+ 5 - 0
package/boost/Config.in

@@ -253,6 +253,11 @@ config BR2_PACKAGE_BOOST_MPI
 	  Message Passing Interface library, for use in
 	  distributed-memory parallel application programming.
 
+config BR2_PACKAGE_BOOST_NOWIDE
+	bool "boost-nowide"
+	help
+	  Library for cross-platform, unicode aware programming.
+
 config BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
 	bool "boost-program_options"
 	help

+ 3 - 2
package/boost/boost.mk

@@ -19,8 +19,8 @@ BOOST_IGNORE_CVES += CVE-2009-3654
 HOST_BOOST_FLAGS = --without-icu --with-toolset=gcc \
 	--without-libraries=$(subst $(space),$(comma),atomic chrono context \
 	contract coroutine date_time exception filesystem graph graph_parallel \
-	iostreams locale log math mpi program_options python random regex \
-	serialization system test thread timer type_erasure wave)
+	iostreams locale log math mpi nowide program_options python random \
+	regex serialization system test thread timer type_erasure wave)
 
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_ATOMIC),,atomic)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CHRONO),,chrono)
@@ -39,6 +39,7 @@ BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_LOCALE),,locale)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_LOG),,log)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_MATH),,math)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_MPI),,mpi)
+BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_NOWIDE),,nowide)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_PROGRAM_OPTIONS),,program_options)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_PYTHON),,python)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_RANDOM),,random)