diff options
author | Brendan Heading <brendanheading@gmail.com> | 2015-08-02 22:43:50 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-08-03 11:20:42 +0200 |
commit | 9741460eaaef510aac9b16a884374d545244fb18 (patch) | |
tree | 97104feeeb025ff74128fe479c374d26a565bba1 /package/gcc | |
parent | 61fe902bacaca7c5fdcc7d3a68ded95a835fe2e1 (diff) | |
download | buildroot-9741460eaaef510aac9b16a884374d545244fb18.tar.gz buildroot-9741460eaaef510aac9b16a884374d545244fb18.zip |
package/libatomic_ops: fix compilation fail on sparc
Fixes http://autobuild.buildroot.net/results/6d8/6d83fa5d69572cec5c96be4b7651f9b113a1a19c/
libatomic_ops by default requires SPARC v9. buildroot's two supported
sparc arches (SPARCv8, and leon3) are both SPARCv8-based. Unfortunately
libatomic_ops's support for SPARCv8 is incomplete.
The library includes fallbacks but these must expressly be enabled by
defining a macro, enabled by this patch. Note that I'm testing for the
SPARC variants rather than BR2_sparc, in case someone implements SPARCv9
support in the future.
Discussion of this workaround described by the maintainer here :
https://github.com/ivmai/libatomic_ops/issues/9
Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gcc')
0 files changed, 0 insertions, 0 deletions