libosip2: fix build with ARC toolchain 258/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Sat, 3 Feb 2018 12:33:24 +0000 (13:33 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sat, 3 Feb 2018 12:33:27 +0000 (13:33 +0100)
commit8006aa8ad3b7bdb5b00b19a1b8b0e1b0fd12807f
treec089c82eb197fbbce265ecf23572ea63a5e13d23
parentc46719867fdf9aadd0097f7b7f9eb30bb12db4f8
libosip2: fix build with ARC toolchain

ARC toolchain exports __arc__, which clashes with a symbol of the same
name in libosip2. This commit undefines the toolchain symbol when
building the library.

The fix was found in buildroot repo. Thanks to whoever spotted this!

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
libs/libosip2/Makefile