summaryrefslogtreecommitdiff
path: root/package/cairo
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/cairo
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/cairo')
-rw-r--r--package/cairo/cairo.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk
index 6b54b286e..b6ab54eaa 100644
--- a/package/cairo/cairo.mk
+++ b/package/cairo/cairo.mk
@@ -18,7 +18,7 @@ endif
# cairo can use C++11 atomics when available, so we need to link with
# libatomic for the architectures who need libatomic.
-ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_8),y)
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
CAIRO_CONF_ENV += LIBS="-latomic"
endif