mirror of
https://git.yoctoproject.org/poky
synced 2026-05-13 08:27:54 +02:00
Fix build with gcc7 Move all patches to webkit folder Drop patches that were backports or have been upstreamed (From OE-Core rev: bfbdd1a2069f199be9ba0909dd512469ff17b65e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
24 lines
1.1 KiB
Diff
24 lines
1.1 KiB
Diff
Disable the tests meant to run when compiling natively
|
|
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
Index: webkitgtk-2.14.5/Source/cmake/OptionsCommon.cmake
|
|
===================================================================
|
|
--- webkitgtk-2.14.5.orig/Source/cmake/OptionsCommon.cmake
|
|
+++ webkitgtk-2.14.5/Source/cmake/OptionsCommon.cmake
|
|
@@ -67,8 +67,11 @@ endif ()
|
|
# Detect Cortex-A53 core if CPU is ARM64 and OS is Linux.
|
|
# Query /proc/cpuinfo for each available core and check reported CPU part number: 0xd03 signals Cortex-A53.
|
|
# (see Main ID Register in ARM Cortex-A53 MPCore Processor Technical Reference Manual)
|
|
-set(WTF_CPU_ARM64_CORTEXA53_INITIALVALUE OFF)
|
|
-if (WTF_CPU_ARM64 AND (${CMAKE_SYSTEM_NAME} STREQUAL "Linux"))
|
|
+if( NOT WTF_CPU_ARM64_CORTEXA53_INITIALVALUE)
|
|
+ set(WTF_CPU_ARM64_CORTEXA53_INITIALVALUE OFF)
|
|
+endif(WTF_CPU_ARM64_CORTEXA53_INITIALVALUE)
|
|
+
|
|
+if (WTF_CPU_ARM64 AND NOT CMAKE_CROSSCOMPILING AND (${CMAKE_SYSTEM_NAME} STREQUAL "Linux"))
|
|
execute_process(COMMAND nproc OUTPUT_VARIABLE PROC_COUNT)
|
|
math(EXPR PROC_MAX ${PROC_COUNT}-1)
|
|
foreach (PROC_ID RANGE ${PROC_MAX})
|