56d9b88768
Add gcc >= 5 dependency because __builtin_add_overflow is
unconditionally used since
0744fa4f53
https://github.com/SELinuxProject/selinux/releases/tag/3.3
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
20 lines
768 B
Plaintext
20 lines
768 B
Plaintext
config BR2_PACKAGE_CHECKPOLICY
|
|
bool "checkpolicy"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libselinux
|
|
depends on !BR2_STATIC_LIBS # libselinux
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libselinux -> libsepol
|
|
select BR2_PACKAGE_LIBSELINUX
|
|
select BR2_PACKAGE_FLEX
|
|
help
|
|
checkpolicy is the SELinux policy compiler. It uses libsepol
|
|
to generate the binary policy. checkpolicy uses the static
|
|
libsepol since it deals with low level details of the policy
|
|
that have not been encapsulated/abstracted by a proper
|
|
shared library interface.
|
|
|
|
http://selinuxproject.org/page/Main_Page
|
|
|
|
comment "checkpolicy needs a toolchain w/ threads, dynamic library, gcc >= 5"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_5
|