mirror of
https://github.com/openwrt/telephony.git
synced 2026-10-22 20:17:25 +04:00
Merge pull request #258 from micmac1/libosip2-master
libosip2: fix build with ARC toolchain
This commit is contained in:
1 file changed
+2
-1
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user