diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2013-07-15 15:10:26 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-18 21:23:41 +0100 |
commit | 4a6f939b4db2df5b93c9d1388e9d46fe8a7210a3 (patch) | |
tree | 8432ff28c0b5e4124611b30664995dd7d81cd4df /meta/classes/terminal.bbclass | |
parent | 344cf64642d8da4cbef1faf56b02556c7d0f539d (diff) | |
download | poky-4a6f939b4db2df5b93c9d1388e9d46fe8a7210a3.tar.gz |
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]
(From OE-Core rev: c126729b29822d3602c9c4fd9016cc79b6057fc5)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/terminal.bbclass')
0 files changed, 0 insertions, 0 deletions