Brad Bishop | 0011132 | 2018-04-01 22:23:53 -0400 | [diff] [blame] | 1 | Fix configure failure for aarch64 |
| 2 | |
| 3 | | -- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics - Failed |
| 4 | | -- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always |
| 5 | | -- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success |
| 6 | | CMake Error at Source/cmake/OptionsCommon.cmake:42 (WEBKIT_PREPEND_GLOBAL_COMPILER_FLAG): |
| 7 | | Unknown CMake command "WEBKIT_PREPEND_GLOBAL_COMPILER_FLAG". |
| 8 | | Call Stack (most recent call first): |
| 9 | | Source/cmake/WebKitCommon.cmake:58 (include) |
| 10 | | CMakeLists.txt:166 (include) |
| 11 | | |
| 12 | |
| 13 | Upstream-Status: Pending |
| 14 | |
| 15 | Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> |
| 16 | |
| 17 | Index: webkitgtk-2.14.6/Source/cmake/OptionsCommon.cmake |
| 18 | =================================================================== |
| 19 | --- webkitgtk-2.14.6.orig/Source/cmake/OptionsCommon.cmake 2018-02-15 18:56:29.315238564 -0800 |
| 20 | +++ webkitgtk-2.14.6/Source/cmake/OptionsCommon.cmake 2018-02-15 18:54:57.469518064 -0800 |
| 21 | @@ -39,7 +39,7 @@ |
| 22 | if (NOT WTF_CPU_ARM64) |
| 23 | message(FATAL_ERROR "WTF_CPU_ARM64_CORTEXA53 set without WTF_CPU_ARM64") |
| 24 | endif () |
| 25 | - WEBKIT_PREPEND_GLOBAL_COMPILER_FLAG(-mfix-cortex-a53-835769) |
| 26 | + WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-mfix-cortex-a53-835769) |
| 27 | endif () |
| 28 | |
| 29 | EXPOSE_VARIABLE_TO_BUILD(WTF_CPU_ARM64_CORTEXA53) |