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 11:58:28 +0100
commit90e28e33c408d1607ebe0afb0db97e39255395d1 (patch)
tree45f7b894101ffa51d79e51b5c5b2c321f9e125f6 /meta/recipes-kernel
parentd19772d1f3c9d0a06c10dfb246bb156b575a14c5 (diff)
downloadopenembedded-core-contrib-90e28e33c408d1607ebe0afb0db97e39255395d1.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" Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-kernel')
0 files changed, 0 insertions, 0 deletions