libosip2: arc: Undefine __arc__ when building for ARC processors
authorMischa Jonker <mischa.jonker@synopsys.com>
Mon, 15 Jul 2013 12:39:22 +0000 (14:39 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 15 Jul 2013 20:53:42 +0000 (22:53 +0200)
commit821a6d6338451d76d6856ab9c0bfe1a709543b4b
tree1aea3d091cc7763abfba7ac907dc0629e72e92f8
parentfd9c3e2bdaaea7bc54b2ea2c979a2ae061ed5149
libosip2: arc: Undefine __arc__ when building for ARC processors

libosip2 appears to have support for the "ARC standard" (Advanced
RISC Computing), which is unrelated to Synopsys DesignWare ARC
processors. The check for this involves verifying the existence of
the "__arc__" macro. Unfortunately, this macro is also present
as a predefined built-in for the ARC processors, resulting into
build failures.

[Peter: add short comment in .mk files as well]
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libeXosip2/libeXosip2.mk
package/libosip2/libosip2.mk