|
@@ -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
|
|
|
|