aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-02 16:31:19 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-06 11:16:00 +0100
commit971fae9896572aec3fdeca4cfa818e6f3933f717 (patch)
treef318f05f3bd08dc570ed038e44223dadca0e3745
parent674e09967818bf49fd1b6bf1f986a4c0f917fa63 (diff)
downloadbuildroot-971fae9896572aec3fdeca4cfa818e6f3933f717.tar.gz
buildroot-971fae9896572aec3fdeca4cfa818e6f3933f717.tar.bz2
icu: libatomic is only available starting from gcc 4.8
Fixes: http://autobuild.buildroot.org/results/51b060bbdecdcaac89f764026693bf711e7145d5/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/icu/icu.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/icu/icu.mk b/package/icu/icu.mk
index 7bc7f938ec..b4574e5be5 100644
--- a/package/icu/icu.mk
+++ b/package/icu/icu.mk
@@ -18,10 +18,10 @@ ICU_CONF_OPTS = \
--disable-samples \
--disable-tests
-# With gcc >= 4.7, icu prefers to use C++11 atomics, which rely on the
+# When available, icu prefers to use C++11 atomics, which rely on the
# __atomic builtins. On certain architectures, this requires linking
-# with libatomic.
-ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_7),y)
+# with libatomic starting from gcc 4.8.
+ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_8),y)
ICU_CONF_ENV += LIBS="-latomic"
endif