diff options
Diffstat (limited to 'meta/recipes-sato/webkit/webkitgtk/gcc7.patch')
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk/gcc7.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/gcc7.patch b/meta/recipes-sato/webkit/webkitgtk/gcc7.patch deleted file mode 100644 index aee29a9a72..0000000000 --- a/meta/recipes-sato/webkit/webkitgtk/gcc7.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | Imported from | ||
2 | https://src.fedoraproject.org/cgit/rpms/webkitgtk4.git/plain/gcc7.patch | ||
3 | |||
4 | Add to CXX flags since webkitgtk uses c++ compiler by default | ||
5 | Fixes | ||
6 | Source/JavaScriptCore/runtime/JSGenericTypedArrayView.h:119:67: error: no matching function for call to 'JSC::JSGenericTypedArrayView<Adaptor>::vector() const' | ||
7 | | return bitwise_cast<const typename Adaptor::Type*>(vector()); | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com | ||
10 | Upstream-Status: Pending | ||
11 | |||
12 | diff -up webkitgtk-2.15.90/Source/cmake/OptionsCommon.cmake.gcc7 webkitgtk-2.15.90/Source/cmake/OptionsCommon.cmake | ||
13 | --- webkitgtk-2.15.90/Source/cmake/OptionsCommon.cmake.gcc7 2017-02-21 09:57:13.168916004 +0100 | ||
14 | +++ webkitgtk-2.15.90/Source/cmake/OptionsCommon.cmake 2017-02-21 09:58:12.811563156 +0100 | ||
15 | @@ -41,6 +41,8 @@ if (COMPILER_IS_GCC_OR_CLANG) | ||
16 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-exceptions -fno-strict-aliasing") | ||
17 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions -fno-strict-aliasing -fno-rtti") | ||
18 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y") | ||
19 | + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-expansion-to-defined") | ||
20 | + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-expansion-to-defined") | ||
21 | endif () | ||
22 | |||
23 | if (COMPILER_IS_CLANG AND CMAKE_GENERATOR STREQUAL "Ninja") | ||