From b7a791a103d21835d0e3fb8accfb58346330560f Mon Sep 17 00:00:00 2001 From: Anton Kolesov Date: Thu, 31 Jul 2014 17:24:48 +0400 Subject: icu: Add dependency on atomic intrinsics ICU requires GCC built-in atomic functions which are architecture specific and may not be implemented. Signed-off-by: Anton Kolesov Signed-off-by: Thomas Petazzoni --- package/cppcms/Config.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'package/cppcms') diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in index 614abeb550..297c5145e2 100644 --- a/package/cppcms/Config.in +++ b/package/cppcms/Config.in @@ -24,17 +24,16 @@ if BR2_PACKAGE_CPPCMS config BR2_PACKAGE_CPPCMS_ICU bool "enable icu support" - depends on !BR2_arc # icu -> atomic builtins depends on !BR2_BINFMT_FLAT # icu depends on BR2_USE_WCHAR # icu + depends on BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS # icu select BR2_PACKAGE_ICU help Using ICU allows advanced localization features into CppCMS, in another hand ICU is heavier than iconv. -comment "icu support needs a toolchain w/ wchar" - depends on !BR2_arc - depends on !BR2_BINFMT_FLAT +comment "icu support needs a toolchain w/ wchar, atomic intrinsics" + depends on !BR2_BINFMT_FLAT || !BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS depends on !BR2_USE_WCHAR endif -- cgit v1.2.3