summaryrefslogtreecommitdiffstats
path: root/scripts/oe-buildenv-internal
diff options
context:
space:
mode:
authorJesse Zhang <sen.zhang@windriver.com>2013-06-17 12:22:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-18 17:33:14 +0100
commita40435e3397137205e169260b4463a19b5071b41 (patch)
tree7b6c11ff146fdc5a7506f4de33660db67eeef4c6 /scripts/oe-buildenv-internal
parentc281cd149bdbce29fc69cb34c65c4295cfed2060 (diff)
downloadpoky-a40435e3397137205e169260b4463a19b5071b41.tar.gz
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. (From OE-Core rev: d0af30c92fdea6f48afb4ab1fde69f1b636e8203) 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 'scripts/oe-buildenv-internal')
0 files changed, 0 insertions, 0 deletions