package/libglvnd: needs __sync_*_4 intrinsics
Fix the following build failure raised since the addition of the package
in commit 0378e2e5d9
:
/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/EGL/libEGL.so.1.1.0.p/libegl.c.o: in function `AtomicIncrement':
libegl.c:(.text+0x614): undefined reference to `__sync_add_and_fetch_4'
Fixes:
- http://autobuild.buildroot.org/results/a204953020a714057ec6690e63a3ad8ac621acd5
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
4eec4c1363
commit
7996a1a18b
@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_LIBGLVND
|
||||
bool "libglvnd"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics
|
||||
depends on !BR2_STATIC_LIBS # dlfcn.h
|
||||
help
|
||||
The GL Vendor-Neutral Dispatch library
|
||||
@ -45,4 +46,5 @@ config BR2_PACKAGE_PROVIDES_LIBGLES
|
||||
endif
|
||||
|
||||
comment "libglvnd needs a toolchain w/ dynamic library"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
Loading…
Reference in New Issue
Block a user