Merge pull request #258 from micmac1/libosip2-master

libosip2: fix build with ARC toolchain
This commit is contained in:
Jiri Slachta 2018-02-03 18:04:54 +01:00 committed by GitHub
commit a28fa5904d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,8 @@ define Package/libosip2/description
GNU oSIP library, a Session Initiation Protocol (SIP) implementation.
endef
TARGET_CFLAGS += $(FPIC)
# toolchain __arc__ define conflicts with libosip2 source
TARGET_CFLAGS += $(FPIC) $(if $(CONFIG_arc),-U__arc__)
CONFIGURE_ARGS += \
--enable-shared \