package/haproxy: disable on nios2 and microblaze
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 30 Mar 2019 13:31:07 +0000 (14:31 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 30 Mar 2019 14:09:06 +0000 (15:09 +0100)
Fixes:
 - http://autobuild.buildroot.org/results/4d7be00514f5276a9fd533adfdbc3d5183bb59ca
 - http://autobuild.buildroot.org/results/64706f96db793777de9d3ec63b0a47d776cf33fd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/haproxy/Config.in

index 78cbf6e103dc9e4dbb5189fe89986533839c476b..670de5a3ee5848539f01f45f47d9596f69a67705 100644 (file)
@@ -1,7 +1,16 @@
-config BR2_PACKAGE_HAPROXY
-       bool "haproxy"
+config BR2_PACKAGE_HAPROXY_ARCH_SUPPORTS
+       bool
+       default y
+       # internal compiler error: in do_output_reload, at reload1.c:7978
+       depends on !BR2_microblaze
+       # src/proto_http.c:6330:1: internal compiler error: Segmentation fault
+       depends on !BR2_nios2
        # 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_4 # __sync_*_4 intrisics
        help