summaryrefslogtreecommitdiff
path: root/package/icu
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-06 21:47:17 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-20 23:40:35 +0100
commit6619c67a74e788e39cc6ee3ccb4b20562afde986 (patch)
tree1d24c41af40a1b4838dcd4d9e098989cb13f7fdb /package/icu
parent42735cb9b9ca8290ee0566b4e1dce9d5ca2ed036 (diff)
cairo, icu, webkitgtk24: use BR2_TOOLCHAIN_HAS_LIBATOMIC
This commit modifies the cairo, icu and webkitgtk24 packages to use BR2_TOOLCHAIN_HAS_LIBATOMIC when appropriate. Fixes: http://autobuild.buildroot.net/results/ec4/ec4e48c0e4b8fa72d8bb7ef4ad67a166699c0b62/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/icu')
-rw-r--r--package/icu/icu.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/icu/icu.mk b/package/icu/icu.mk
index 68ea1ff7c..40fe4b834 100644
--- a/package/icu/icu.mk
+++ b/package/icu/icu.mk
@@ -21,7 +21,7 @@ ICU_CONF_OPTS = \
# When available, icu prefers to use C++11 atomics, which rely on the
# __atomic builtins. On certain architectures, this requires linking
# with libatomic starting from gcc 4.8.
-ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_8),y)
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
ICU_CONF_ENV += LIBS="-latomic"
endif