Skip to contentSkip to conversation

package/checkpolicy: add host gcc >= 5 dependency

Buildroot Yann E. MORIN 1 participant 1 message Jan 5, 2022

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=8c0b521987f929ce88ae97ee2bf6f923311061a7
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Commit 56d9b887685c86fd4fbadda247cdbe733d499e81 forgot to add host gcc >= 5 dependency

Fixes:
- http://autobuild.buildroot.org/results/fc727efc0c658aaae55c83632a91af83701f0c49

---
 package/checkpolicy/Config.in.host | 4 ++++
 1 file changed, 4 insertions(+)
package/checkpolicy/Config.in.host +4 -0
index 240a5b6dc4..38e35e2fc1 100644
@@ -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

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot