summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2015-09-25 12:30:39 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-28 12:00:27 +0100
commit9028d9371a46c3e317d288b6368775c693ec71a2 (patch)
tree68b9d9801da4a0e21c7b7f040aedf3ee1a665e00 /meta/recipes-kernel
parent5942dfec50c811da07105b4d062163796c65733a (diff)
downloadpoky-9028d9371a46c3e317d288b6368775c693ec71a2.tar.gz
ltp: replace 'inline' with 'static inline' for gcc 5.x
gcc 5.x defaults to -std=gnu11 instead of -std=gnu89 which causes semantics for inline functions changes. The standalone 'inline' causes error with gcc 5 such as: git/testcases/kernel/syscalls/kill/kill10.c:355: undefined reference to `k_sigaction' Replace inline with static inline to be compatible with both gcc 4 and 5. Found and test with configure: SELECTED_OPTIMIZATION="-O0 -fno-omit-frame-pointer -g -pipe" (From OE-Core rev: 90e28e33c408d1607ebe0afb0db97e39255395d1) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
0 files changed, 0 insertions, 0 deletions