[Buildroot] [PATCH 3/4] package/checkpolicy: add host gcc >= 5 dependency
Fabrice Fontaine
fontaine.fabrice at gmail.com
Wed Jan 5 18:04:01 UTC 2022
Commit 56d9b887685c86fd4fbadda247cdbe733d499e81 forgot to add host
gcc >= 5 dependency
Fixes:
- http://autobuild.buildroot.org/results/fc727efc0c658aaae55c83632a91af83701f0c49
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
package/checkpolicy/Config.in.host | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/checkpolicy/Config.in.host b/package/checkpolicy/Config.in.host
index 240a5b6dc4..38e35e2fc1 100644
--- a/package/checkpolicy/Config.in.host
+++ b/package/checkpolicy/Config.in.host
@@ -1,5 +1,6 @@
config BR2_PACKAGE_HOST_CHECKPOLICY
bool "host checkpolicy"
+ depends on BR2_HOST_GCC_AT_LEAST_5 # host-libselinux -> host-libsepol
help
checkpolicy is the SELinux policy compiler. It uses libsepol
to generate the binary policy. checkpolicy uses the static
@@ -8,3 +9,6 @@ config BR2_PACKAGE_HOST_CHECKPOLICY
shared library interface.
http://selinuxproject.org/page/Main_Page
+
+comment "host checkpolicy needs a toolchain w/ host gcc >= 5"
+ depends on !BR2_HOST_GCC_AT_LEAST_5
--
2.34.1
More information about the buildroot
mailing list