config BR2_PACKAGE_HAPROXY_ARCH_SUPPORTS
	bool
	default y
	# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60040
	depends on !(BR2_sh4 && !BR2_TOOLCHAIN_GCC_AT_LEAST_7)

config BR2_PACKAGE_HAPROXY
	bool "haproxy"
	depends on BR2_PACKAGE_HAPROXY_ARCH_SUPPORTS
	depends on BR2_USE_MMU # fork()
	depends on BR2_TOOLCHAIN_HAS_SYNC_1 && BR2_TOOLCHAIN_HAS_SYNC_4
	help
	  HAProxy is a free, very fast and reliable solution offering
	  high availability, load balancing, and proxying for TCP and
	  HTTP-based applications.

	  http://www.haproxy.org
