mpd: fix build for ARC
authorZakharov Vlad <Vladislav.Zakharov@synopsys.com>
Wed, 1 Mar 2017 11:03:34 +0000 (14:03 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 1 Mar 2017 21:11:37 +0000 (22:11 +0100)
commit4d3556662deba0014d9368a84344a59b5e167fac
tree9fa6e636d62fec47b629a445df27dbc00c4e21c1
parent609df3acf644e97d0aa4a66db8998d93f8543f3b
mpd: fix build for ARC

mpd package fails for both internal and external ARC toolchain as check
for pthread support fails. Such checks fails because _REENTRANT flag is
not defined in gcc even when -pthread is passed.

So we add patch to gcc that defines _REENTRANT  on ARC when -pthread is
passed.

Also it disables mpd package for external ARC toolchain as it fails due
to the same issue.

This patch should be reverted as soon as the patch for GCC becomes a
part of ARC toolchain.

Fixes:
  http://autobuild.buildroot.net/results/7d7/7d70b62ad996830fbeca46dffcc7a1dc030e575d//

Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gcc/arc-2016.09-release/895-arc-define-_REENTRANT-when-pthread-is-passed.patch [new file with mode: 0644]
package/mpd/Config.in