[Buildroot] [PATCH v2 6/7] package/restorecond: libselinux depend >=gcc4.7

Matt Weber matthew.weber at rockwellcollins.com
Mon Aug 13 15:17:34 UTC 2018


Depend on at least gcc 4.7 when using libselinux as the
package is using ATOMICS.

Signed-off-by: Matthew Weber <matthew.weber at rockwellcollins.com>
---
 package/restorecond/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/restorecond/Config.in b/package/restorecond/Config.in
index 54a5545a12..58718e28d8 100644
--- a/package/restorecond/Config.in
+++ b/package/restorecond/Config.in
@@ -6,6 +6,8 @@ config BR2_PACKAGE_RESTORECOND
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
 	depends on !BR2_STATIC_LIBS # libselinux
 	depends on BR2_TOOLCHAIN_USES_GLIBC # libselinux
+	depends on BR2_HOST_GCC_AT_LEAST_4_7 # libselinux use of __ATOMIC_*
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # libselinux use of __ATOMIC_*
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_DBUS_GLIB
 	select BR2_PACKAGE_LIBGLIB2
-- 
2.17.0




More information about the buildroot mailing list