diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2013-07-15 15:10:26 -0500 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2013-07-18 07:14:39 -0700 |
commit | c126729b29822d3602c9c4fd9016cc79b6057fc5 (patch) | |
tree | 6abbac78bd81caeef4a0e34ababa942c6ed709ec /meta/recipes-gnome | |
parent | 4f7fd6ba77e3c233faafe490c1986527789ed80c (diff) | |
download | openembedded-core-c126729b29822d3602c9c4fd9016cc79b6057fc5.tar.gz openembedded-core-c126729b29822d3602c9c4fd9016cc79b6057fc5.tar.bz2 openembedded-core-c126729b29822d3602c9c4fd9016cc79b6057fc5.zip |
sanity.bbclass: Update gcc sanity check
The gcc sanity check should be checking for the atomic function directly
instead of using the gcc macro. Older versions of gcc do not have the macro
defined, but do support the atomic operations. (glib-2.0 checks for both
the macro and the function, as long as one is available it will successfully
compile.)
Update the check to try both -mcpu=native and -mcpu=BUILD_ARCH. Tell the user
which version worked properly.
[YOCTO #4845]
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-gnome')
0 files changed, 0 insertions, 0 deletions