]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
mesa3d: fix build with gcc <= 4.7 on some architectures
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 7 May 2018 11:50:36 +0000 (13:50 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 8 May 2018 13:01:10 +0000 (15:01 +0200)
commit56adbe89105d2d6bb00149d4047dae0f164a8938
tree75e08c658426d0795349e0259a132e811e0f158b
parentbc78182309b90bde2b96fc3296c5b24825520f26
mesa3d: fix build with gcc <= 4.7 on some architectures

The configure.ac check for atomic intrinsics assumes that if an atomic
intrinsic is not available, it's because we must link with
libatomic. Except that libatomic is not always available, for example
with gcc <= 4.7.

To fix this, this commit adds a patch that reworks the atomic check in
configure.ac. It has been submitted upstream, and tested in a number
of different combinations.

Fixes:

  http://autobuild.buildroot.net/results/b045488d880a4013ed82937e7115b7636867e01d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/mesa3d/0003-configure.ac-rework-latomic-check.patch [new file with mode: 0644]