baf637df7c
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>
33 lines
1.0 KiB
Makefile
33 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# linphone
|
|
#
|
|
################################################################################
|
|
|
|
LINPHONE_VERSION_MAJOR = 3.6
|
|
LINPHONE_VERSION = $(LINPHONE_VERSION_MAJOR).1
|
|
LINPHONE_SITE = http://download-mirror.savannah.gnu.org/releases/linphone/$(LINPHONE_VERSION_MAJOR).x/sources
|
|
LINPHONE_CONF_OPT = \
|
|
--enable-external-ortp \
|
|
--enable-external-mediastreamer \
|
|
--disable-strict
|
|
# configure is out of sync causing deplibs linking issues
|
|
LINPHONE_AUTORECONF = YES
|
|
LINPHONE_DEPENDENCIES = host-pkgconf ortp mediastreamer libeXosip2 speex
|
|
LINPHONE_LICENSE = GPLv2+
|
|
LINPHONE_LICENSE_FILES = COPYING
|
|
|
|
ifeq ($(BR2_arc),y)
|
|
# toolchain __arc__ define conflicts with libosip2 source
|
|
LINPHONE_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -U__arc__"
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_XORG7),yy)
|
|
LINPHONE_CONF_OPT += --enable-gtk_ui
|
|
LINPHONE_DEPENDENCIES += libgtk2
|
|
else
|
|
LINPHONE_CONF_OPT += --disable-gtk_ui
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|