diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-06-06 10:13:46 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-09 17:12:14 +0100 |
commit | 53918ce80a246df30fe48231b86422c92b1de960 (patch) | |
tree | 7633c579c4bab33b1edfaaa68f0757d12b72d4f7 /meta/recipes-graphics/mesa/mesa.inc | |
parent | 475cc0156224433044726b2e1a7fffeaf3520113 (diff) | |
download | poky-53918ce80a246df30fe48231b86422c92b1de960.tar.gz |
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>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa.inc')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 67039a9962..014044f381 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -79,6 +79,8 @@ PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind" | |||
79 | # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2) | 79 | # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2) |
80 | FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer" | 80 | FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer" |
81 | 81 | ||
82 | CFLAGS_append_armv5 = " -DMISSING_64BIT_ATOMICS" | ||
83 | |||
82 | # Multiple virtual/gl providers being built breaks staging | 84 | # Multiple virtual/gl providers being built breaks staging |
83 | EXCLUDE_FROM_WORLD = "1" | 85 | EXCLUDE_FROM_WORLD = "1" |
84 | 86 | ||