webkitgtk: Add upstream patch to ensure CMAKE_BUILD_TYPE is honored
authorAdrian Perez de Castro <aperez@igalia.com>
Wed, 29 Nov 2017 14:17:51 +0000 (16:17 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 29 Nov 2017 20:03:37 +0000 (21:03 +0100)
commita49c69862a617617d05c23e5c64ddea1c665174f
treef4bdc0f6645accf8aa75e65f9bbf09b978dbf8a9
parentf5ef363732fd6092b132cc21573efafea3f1d4ac
webkitgtk: Add upstream patch to ensure CMAKE_BUILD_TYPE is honored

Make WebKitGTK+ honor the value of CMAKE_BUILD_TYPE defined in the CMake
toolchain file by backporting the following upstream WebKit patch:

    https://trac.webkit.org/changeset/225168

This reduces the generated binary sizes when building in "Release" mode
(BR2_ENABLE_DEBUG=n), for example when targeting ARMv8 the size reduction
is ~17 MiB.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/webkitgtk/0001-CMake-Values-of-CMAKE_BUILD_TYPE-from-toolchain-file.patch [new file with mode: 0644]