kumquat-buildroot/package/cups-pk-helper/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

24 lines
879 B
Plaintext

config BR2_PACKAGE_CUPS_PK_HELPER
bool "cups-pk-helper"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # polkit -> c++17
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, polkit
depends on BR2_USE_WCHAR # libglib2
depends on !BR2_STATIC_LIBS # polkit -> duktape
depends on !BR2_OPTIMIZE_FAST # polkit -> duktape
depends on BR2_PACKAGE_CUPS
select BR2_PACKAGE_POLKIT
help
cups-pk-helper is a PolicyKit helper to configure cups with
fine-grained privileges.
https://wiki.freedesktop.org/www/Software/cups-pk-helper/
comment "cups-pk-helper support needs a toolchain with threads, wchar, dynamic library, gcc >= 7"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
!BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
comment "cups-pk-helper can't be built with Optimize for fast"
depends on BR2_OPTIMIZE_FAST