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:26:02 +0100 |
commit | 80b4eb9e12ccf815261f6a67fd9b8d97717e82d5 (patch) | |
tree | fb1c6dd531129d6af6a663ab025d4b13e06c9543 /scripts/qemuimage-tests | |
parent | ad98f2bfa2c6ebb53b9c1fa4afad8842ab65062c (diff) | |
download | openembedded-core-80b4eb9e12ccf815261f6a67fd9b8d97717e82d5.tar.gz openembedded-core-80b4eb9e12ccf815261f6a67fd9b8d97717e82d5.tar.bz2 openembedded-core-80b4eb9e12ccf815261f6a67fd9b8d97717e82d5.zip |
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.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts/qemuimage-tests')
0 files changed, 0 insertions, 0 deletions