mirror of
https://git.yoctoproject.org/poky
synced 2026-04-25 06:32:12 +02:00
mesa: Add define to indicate missing 64bit atomics on armv5
This is wrongly detected by configure since it only checks for __sync_add_and_fetch and not __atomic_fetch_add, it decides to let compiler emit references to atomic functions which it expects to be provided by libgcc, but thats not the case for armv5 arch [YOCTO #11616] (From OE-Core rev: 6866ad53c5d49781002470195b4aae1ad1afde5c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -79,6 +79,8 @@ PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind"
|
||||
# llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2)
|
||||
FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer"
|
||||
|
||||
CFLAGS_append_armv5 = " -DMISSING_64BIT_ATOMICS"
|
||||
|
||||
# Multiple virtual/gl providers being built breaks staging
|
||||
EXCLUDE_FROM_WORLD = "1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user