package/xenomai: bfin remove inline keyword
authorRomain Naour <romain.naour@gmail.com>
Tue, 15 Nov 2016 23:22:18 +0000 (00:22 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 16 Nov 2016 11:27:03 +0000 (12:27 +0100)
commit75022c5270d444a6cd5f0ffe3d1c29f597d43722
treecd799efe54c4c43c7439fdf5d4b2839264889ed2
parente550e4783a988feb24c4707db28f0dbc3b72df6a
package/xenomai: bfin remove inline keyword

Xenomai user space tools fail to build for bfin target since it's
provide it's own pthread_atfork(), shm_open() and shm_unlink()
definition using the inline keyword and weak attribute.

With gcc 5+ the weak attribute is discarded by the inline keyword,
so each symbol are global and are redefined several time while
linking.

Fixes:
http://autobuild.buildroot.net/results/0c2/0c2e5eb4edd4f9427f61d3c9b67a12a7a0e24140

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: add reference to upstream commit.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/xenomai/0001-bfin-remove-inline-keyword.patch [new file with mode: 0644]