package/wpewebkit: needs >= GCC 7
CMakeLists.txt contains a toolchain check:
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU")
if (${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS "7.3.0")
message(FATAL_ERROR "GCC 7.3 or newer is required to build WebKit. Use a newer GCC version or Clang.")
endif ()
endif ()
So bump the toolchain dependency to >= GCC 7. The check is really about >=
7.3.0, but we do not have such detailed version checks. Given that GCC
7.3.0 was released in January 2018 (and 7.1.0 in May 2017), most external
GCC 7.x toolchains probably use >= 7.3.0.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
@@ -12,12 +12,12 @@ config BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS
|
|||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||||
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
|
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
|
||||||
|
|
||||||
comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 6"
|
comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 7"
|
||||||
depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS
|
||||||
depends on !BR2_BINFMT_FLAT
|
depends on !BR2_BINFMT_FLAT
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \
|
||||||
|| !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
|
|| !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
|
||||||
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_7
|
||||||
|
|
||||||
comment "wpewebkit needs an OpenGL ES w/ EGL-capable Wayland backend"
|
comment "wpewebkit needs an OpenGL ES w/ EGL-capable Wayland backend"
|
||||||
depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS
|
||||||
@@ -31,7 +31,7 @@ config BR2_PACKAGE_WPEWEBKIT
|
|||||||
depends on !BR2_BINFMT_FLAT # icu
|
depends on !BR2_BINFMT_FLAT # icu
|
||||||
depends on BR2_INSTALL_LIBSTDCPP # harfbuzz, icu
|
depends on BR2_INSTALL_LIBSTDCPP # harfbuzz, icu
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup
|
depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup
|
||||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7
|
||||||
depends on BR2_USE_WCHAR # icu, libsoup
|
depends on BR2_USE_WCHAR # icu, libsoup
|
||||||
depends on BR2_PACKAGE_HAS_LIBGLES # libepoxy
|
depends on BR2_PACKAGE_HAS_LIBGLES # libepoxy
|
||||||
depends on BR2_PACKAGE_HAS_LIBEGL # libepoxy
|
depends on BR2_PACKAGE_HAS_LIBEGL # libepoxy
|
||||||
|
|||||||
Reference in New Issue
Block a user