Commit e3517f72 authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Thomas Petazzoni
Browse files

webkitgtk24: depends on gcc >= 4.8



Webkit 2.4.x depends on gcc being >= 4.8.x so use the new
BR2_TOOLCHAIN_GCC_AT_LEAST_X_Y knob and drop the manual x86* external
toolchain exclusions.
Follow up in the midori package as well.

Signed-off-by: default avatarGustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 6b804f75
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
comment "midori needs libgtk2 and a toolchain w/ C++, wchar, NPTL"
comment "midori needs libgtk2 and a toolchain w/ C++, wchar, NPTL, gcc >= 4.8"
	depends on BR2_PACKAGE_WEBKITGTK24_ARCH_SUPPORTS
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_PACKAGE_LIBGTK2
		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_PACKAGE_LIBGTK2 \
		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8

config BR2_PACKAGE_MIDORI
	bool "midori"
@@ -16,6 +17,7 @@ config BR2_PACKAGE_MIDORI
	depends on BR2_INSTALL_LIBSTDCPP # webkitgtk24
	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # webkitgtk24
	depends on BR2_USE_WCHAR # webkitgtk24
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # webkitgtk24
	depends on BR2_PACKAGE_WEBKITGTK24_ARCH_SUPPORTS
	help
	  Midori is a lightweight web browser based on WebKit
+3 −8
Original line number Diff line number Diff line
@@ -2,25 +2,19 @@ config BR2_PACKAGE_WEBKITGTK24_ARCH_SUPPORTS
	bool
	# ARM needs BLX, so v5t+, BE completely untested so disabled
	default y if BR2_arm && !BR2_ARM_CPU_ARMV4
	# i386 / x86_64 external toolchains have issues and old gcc versions
	# https://bugs.webkit.org/show_bug.cgi?id=132231
	# https://stackoverflow.com/questions/9140019/yield-is-not-a-member-of-stdthis-thread
	default y if BR2_i386 || BR2_x86_64
	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
	# Disabled on MIPS big endian due to sigbus
	default y if BR2_mipsel || BR2_mips64el
	# Disabled on PowerPC pending runtime testing
	# Disabled on SuperH because of segfault
	depends on BR2_USE_MMU # libglib2

comment "webkitgtk24 needs libgtk2 and a toolchain w/ C++, wchar, NPTL"
comment "webkitgtk24 needs libgtk2 and a toolchain w/ C++, wchar, NPTL, gcc >=4.8"
	depends on BR2_PACKAGE_WEBKITGTK24_ARCH_SUPPORTS
	depends on BR2_ARCH_HAS_ATOMICS
	depends on !BR2_PACKAGE_LIBGTK2 || !BR2_PACKAGE_XORG7 || \
		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_INSTALL_LIBSTDCPP \
		|| !BR2_USE_WCHAR
		|| !BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
	depends on BR2_USE_MMU

config BR2_PACKAGE_WEBKITGTK24
@@ -28,6 +22,7 @@ config BR2_PACKAGE_WEBKITGTK24
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_USE_WCHAR
	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
	depends on (BR2_PACKAGE_LIBGTK2 && BR2_PACKAGE_XORG7)
	depends on BR2_PACKAGE_WEBKITGTK24_ARCH_SUPPORTS
	depends on BR2_ARCH_HAS_ATOMICS