3a9369fdeb
Fix the following build failure raised since bump to version 9.12.0 in commitf2eb56459e
and9601603db7
which deleted the internal libatomic_ops: configure: error: libatomic_ops is required. You can either install it on your system, or fetch and unpack a recent version into the source directory and link or rename it to libatomic_ops. Fixes: - http://autobuild.buildroot.org/results/4c7a1b690d1b12e39b6b24f8cc8a144f79c73711 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
44 lines
1.4 KiB
Makefile
44 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# gauche
|
|
#
|
|
################################################################################
|
|
|
|
GAUCHE_VERSION = 0.9.12
|
|
GAUCHE_SOURCE = Gauche-$(GAUCHE_VERSION).tgz
|
|
GAUCHE_SITE = https://github.com/shirok/Gauche/releases/download/release$(subst .,_,$(GAUCHE_VERSION))
|
|
GAUCHE_LICENSE = BSD-3-Clause, Boehm-gc, SRFI (srfi-11.scm), reload (reload.scm)
|
|
GAUCHE_LICENSE_FILES = COPYING
|
|
GAUCHE_DEPENDENCIES = host-gauche
|
|
|
|
HOST_GAUCHE_CONF_OPTS = --without-zlib
|
|
GAUCHE_CONF_OPTS = --with-libatomic-ops=none
|
|
|
|
# Enable embedded axTLS
|
|
GAUCHE_TLS_LIBS = axtls
|
|
|
|
ifeq ($(BR2_PACKAGE_MBEDTLS),y)
|
|
GAUCHE_TLS_LIBS += mbedtls
|
|
GAUCHE_DEPENDENCIES += mbedtls
|
|
endif
|
|
|
|
GAUCHE_CONF_OPTS += --with-tls="$(GAUCHE_TLS_LIBS)"
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
GAUCHE_CONF_OPTS += --with-zlib=$(STAGING_DIR)
|
|
GAUCHE_DEPENDENCIES += zlib
|
|
else
|
|
GAUCHE_CONF_OPTS += --without-zlib
|
|
endif
|
|
|
|
# Detection of c99 support in configure fails without WCHAR. To enable
|
|
# automatic detection of c99 support by configure, we need to enable
|
|
# WCHAR in toolchain. But actually we do not need WCHAR at gauche
|
|
# runtime. So reuesting WCHAR in toolchain just for automatic detection
|
|
# will be overkill. To solve this, explicitly -std=gnu99 is specified
|
|
# here.
|
|
GAUCHE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|