kumquat-buildroot/package/liblo/liblo.mk
Yann E. MORIN b07245e5b7 package/liblo: fix build with musl
Commit 2759ba0397 (liblo: disable werror to fix build issues) tried to
fix the issue by passing --disable-werror, but this is not a recognised
option.

Instead, just fix the code for good.

Fixes:
    http://autobuild.buildroot.org/results/000a46954d0c6d3dbc4b4634a0d3a3c955fac679
    http://autobuild.buildroot.org/results/58cb834bbd69bafc5cb0f23c236919c609648c05
    http://autobuild.buildroot.org/results/9de1c2007818082e88d77572abf8ff8a72e01930
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Alex Baldwin <alexbaldwinmusic@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-04-09 11:23:11 +02:00

24 lines
672 B
Makefile

################################################################################
#
# liblo
#
################################################################################
LIBLO_VERSION = 0.29
LIBLO_SITE = http://downloads.sourceforge.net/project/liblo/liblo/$(LIBLO_VERSION)
LIBLO_LICENSE = LGPL-2.1+
LIBLO_LICENSE_FILES = COPYING
LIBLO_INSTALL_STAGING = YES
# IPv6 support broken, issue known upstream
LIBLO_CONF_OPTS = --disable-ipv6
# Liblo uses atomic builtins, so we need to link with libatomic for
# the architectures who explicitly need libatomic.
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
LIBLO_CONF_ENV += LIBS="-latomic"
endif
$(eval $(autotools-package))