linphone: arc: Undefine __arc__ when building for ARC processors
authorAnton Kolesov <anton.kolesov@synopsys.com>
Fri, 4 Apr 2014 16:04:38 +0000 (20:04 +0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 12 Apr 2014 15:41:15 +0000 (17:41 +0200)
commitbaf637df7c0508e4fc1ee2482669abe79d0c475e
treebce445c1e472e808408a8a218252c22a9ea029cb
parent2fd2c71523c0bd992bac845d16300f771b70bc44
linphone: arc: Undefine __arc__ when building for ARC processors

This patch is similar to 821a6d63. Libexosip2 defines symbol __arc__, which
gets in contradiction with same symbol defined by the GCC for the Synopsys
DesignWare ARC cores. Previous patch undefined __arc__ for libosip2 and
libexosip2, however linphone includes headers from libexosip2, which causes
build failure unless same patch is applied to it.

This patch fixes
http://autobuild.buildroot.net/results/0d2e19d40d6d0df4048e6ebae5f77022f89ca7cb/

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/linphone/linphone.mk