mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
package/icu: needs gcc >= 4.9 and host gcc >= 4.9
icu uses std::max_align_t since version 67-1 and
a3078fb8c8
This raises the following build failure with gcc 4.8:
utext.cpp:572:5: error: 'max_align_t' in namespace 'std' does not name a type
std::max_align_t extension;
^
This build failure is due to GCC bug 56019:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56019
Instead of adding BR2_TOOLCHAIN_HAS_GCC_BUG_56019, just bumps gcc
dependency from 4.8 to 4.9
As this issue also affects host-icu, add a host gcc >= 4.9 dependency
Fixes:
- http://autobuild.buildroot.org/results/6d2658a3c165c99df3eae87b2970e738bd386245
- http://autobuild.buildroot.org/results/d204f1a528765d1440620a1eed8c29cbb5ec93c3
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
9d17d72b97
commit
23fdcb4cbd
@@ -222,9 +222,10 @@ config BR2_PACKAGE_PHP_EXT_ICONV
|
||||
|
||||
config BR2_PACKAGE_PHP_EXT_INTL
|
||||
bool "intl"
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # icu
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu
|
||||
depends on !BR2_BINFMT_FLAT # icu
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # icu
|
||||
depends on !BR2_STATIC_LIBS
|
||||
@@ -232,11 +233,12 @@ config BR2_PACKAGE_PHP_EXT_INTL
|
||||
help
|
||||
Internationalization support
|
||||
|
||||
comment "intl support needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.8"
|
||||
comment "intl support needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.9, host gcc >= 4.9"
|
||||
depends on !BR2_BINFMT_FLAT
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
||||
!BR2_HOST_GCC_AT_LEAST_4_9
|
||||
|
||||
config BR2_PACKAGE_PHP_EXT_MBSTRING
|
||||
bool "mbstring"
|
||||
|
||||
Reference in New Issue
Block a user