package/erlang: needs threads
Due to the removal of the non-smp option threads are needed now:
ee297c32a7 (diff-900a5d0495caac38a1f51a2cae1b2594R974)
Fixes
http://autobuild.buildroot.net/results/285/285ef07d8e0614dd90a1e4dd3ee28b116990dc0f/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
bf6dbebea7
commit
c4d2699256
|
@ -12,15 +12,16 @@ config BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
|
||||||
# erlang needs host-erlang
|
# erlang needs host-erlang
|
||||||
depends on BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS
|
||||||
|
|
||||||
comment "erlang needs a toolchain w/ dynamic library"
|
comment "erlang needs a toolchain w/ dynamic library, threads"
|
||||||
depends on BR2_USE_MMU # fork()
|
depends on BR2_USE_MMU # fork()
|
||||||
depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
|
||||||
depends on BR2_STATIC_LIBS
|
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
|
||||||
config BR2_PACKAGE_ERLANG
|
config BR2_PACKAGE_ERLANG
|
||||||
bool "erlang"
|
bool "erlang"
|
||||||
depends on BR2_USE_MMU # fork()
|
depends on BR2_USE_MMU # fork()
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
|
||||||
help
|
help
|
||||||
Erlang is a programming language used to build massively
|
Erlang is a programming language used to build massively
|
||||||
|
|
7
package/erlang/erlang.mk
vendored
7
package/erlang/erlang.mk
vendored
|
@ -43,10 +43,6 @@ HOST_ERLANG_CONF_OPTS = --without-javac --with-ssl=$(HOST_DIR)
|
||||||
|
|
||||||
HOST_ERLANG_CONF_OPTS += --without-termcap
|
HOST_ERLANG_CONF_OPTS += --without-termcap
|
||||||
|
|
||||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
|
|
||||||
ERLANG_CONF_OPTS += --disable-threads
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_NCURSES),y)
|
ifeq ($(BR2_PACKAGE_NCURSES),y)
|
||||||
ERLANG_CONF_OPTS += --with-termcap
|
ERLANG_CONF_OPTS += --with-termcap
|
||||||
ERLANG_DEPENDENCIES += ncurses
|
ERLANG_DEPENDENCIES += ncurses
|
||||||
|
@ -61,8 +57,7 @@ else
|
||||||
ERLANG_CONF_OPTS += --without-ssl
|
ERLANG_CONF_OPTS += --without-ssl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# ODBC support in erlang requires threads
|
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
|
||||||
ifeq ($(BR2_PACKAGE_UNIXODBC)$(BR2_TOOLCHAIN_HAS_THREADS),yy)
|
|
||||||
ERLANG_DEPENDENCIES += unixodbc
|
ERLANG_DEPENDENCIES += unixodbc
|
||||||
ERLANG_CONF_OPTS += --with-odbc
|
ERLANG_CONF_OPTS += --with-odbc
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue