|
@@ -56,6 +56,11 @@ VLC_CONF_OPTS += \
|
|
|
--disable-addonmanagermodules \
|
|
|
--enable-run-as-root \
|
|
|
|
|
|
+# Uses __atomic_fetch_add_4
|
|
|
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
|
|
+VLC_CONF_ENV += LIBS="-latomic"
|
|
|
+endif
|
|
|
+
|
|
|
# Building static and shared doesn't work, so force static off.
|
|
|
ifeq ($(BR2_STATIC_LIBS),)
|
|
|
VLC_CONF_OPTS += --disable-static
|