diff options
author | Jesse Zhang <sen.zhang@windriver.com> | 2013-06-17 12:22:38 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-17 17:02:46 +0100 |
commit | d0af30c92fdea6f48afb4ab1fde69f1b636e8203 (patch) | |
tree | 4c044863dd3119701571e85e17740a1dc64cefe6 /meta/lib/oe/classextend.py | |
parent | 682861166f39fbdcd0c9b923139faab2d40362cf (diff) | |
download | openembedded-core-d0af30c92fdea6f48afb4ab1fde69f1b636e8203.tar.gz openembedded-core-d0af30c92fdea6f48afb4ab1fde69f1b636e8203.tar.bz2 openembedded-core-d0af30c92fdea6f48afb4ab1fde69f1b636e8203.zip |
alsa-lib: Change function type to "static __inline__"
"extern __inline__ function()" is the inlined version that
can be used in this compilation unit, but there will be another
definition of this function somewhere, so compiler will not emit
any code for the function body. This causes problem in -O0,
where functions are never inlined, the function call is preserved,
but linker can't find the symbol, thus the error happens.
since no packages provide atomic_add and atomic_sub, and -O0
Optimize is hoped to keep for debug, we can change extern to
static to fix this problem.
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/classextend.py')
0 files changed, 0 insertions, 0 deletions