diff options
author | Kai Kang <kai.kang@windriver.com> | 2013-08-22 17:59:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-26 11:47:18 +0100 |
commit | 764784c9355ca696a92221ffa935fba61eff195d (patch) | |
tree | e0782cb6cb5fa8fd63aa0c5e16e0a17bd8ab02c9 /meta/recipes-graphics/xorg-app/xev_1.2.1.bb | |
parent | 26fe9762817ba13da4ac478aa484616ea9715580 (diff) | |
download | poky-764784c9355ca696a92221ffa935fba61eff195d.tar.gz |
alsa-lib: fix function definitions error for mips
Functions atomic_add(s) and atomic_sub(s) are defined with 'extern
__inline__' that may cause compile fails when cross compile for mips.
The error message looks like:
| pcm/.libs/libpcm.a(pcm_meter.o): In function
`snd_pcm_meter_update_scope':
| .../alsa-lib-1.0.27.2/src/pcm/pcm_meter.c:139: undefined reference to
`atomic_sub'
Replace the 'extern __inline__' with 'static __inline__' to fix this
issue.
(From OE-Core rev: 80b4eb9e12ccf815261f6a67fd9b8d97717e82d5)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-app/xev_1.2.1.bb')
0 files changed, 0 insertions, 0 deletions