mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/libde265: link with libatomic if needed
Buildroot commitd4b8a42fb2bumped the package to version 1.0.18 which introduced build errors on sparc: /home/autobuild/autobuild/instance-21/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/15.2.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ../libde265/libde265.so.0.1.12: undefined reference to `__atomic_fetch_add_4' Fixes: https://autobuild.buildroot.net/results/605/605dc19e86f113662cc35fe055c64c52698d70b4/ Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit38358daba9) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
0c465e005f
commit
3b435a1bab
@@ -11,4 +11,9 @@ LIBDE265_LICENSE_FILES = COPYING
|
||||
LIBDE265_CPE_ID_VENDOR = struktur
|
||||
LIBDE265_INSTALL_STAGING = YES
|
||||
|
||||
# Uses __atomic_fetch_add_4
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
LIBDE265_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
||||
Reference in New Issue
Block a user