kumquat-buildroot/package/duktape/Config.in
Fabrice Fontaine c1dcf18c8d package/duktape: can't be built with BR2_OPTIMIZE_FAST
duktape can't be used with BR2_OPTIMIZE_FAST resulting in the following
build failure in polkit:

In file included from /nvmedata/autobuild/instance-27/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/duktape.h:202,
                 from ../src/polkitbackend/polkitbackendduktapeauthority.c:28:
/nvmedata/autobuild/instance-27/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/duk_config.h:2893:2: error: #error __FAST_MATH__ defined, refusing to compile
 2893 | #error __FAST_MATH__ defined, refusing to compile
      |  ^~~~~

Fixes:
 - http://autobuild.buildroot.org/results/587485bcfd85dfd974608aa00b9bd0c42a3a61d8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-05-15 20:17:28 +02:00

21 lines
611 B
Plaintext

config BR2_PACKAGE_DUKTAPE
bool "duktape"
depends on !BR2_STATIC_LIBS
depends on !BR2_OPTIMIZE_FAST
help
Duktape is an embeddable Javascript engine, with a focus on
portability and compact footprint.
Duktape is easy to integrate into a C/C++ project: add
duktape.c, duktape.h, and duk_config.h to your build, and use
the Duktape API to call Ecmascript functions from C code and
vice versa.
http://www.duktape.org
comment "duktape needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
comment "duktape can't be built with Optimize for fast"
depends on BR2_OPTIMIZE_FAST