[Buildroot] [PATCH 1/1] webkitgtk: Add upstream patch to ensure CMAKE_BUILD_TYPE is honored

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Nov 29 20:11:58 UTC 2017


Hello,

On Wed, 29 Nov 2017 16:17:51 +0200, Adrian Perez de Castro wrote:
> 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 at igalia.com>
> ---
>  ...s-of-CMAKE_BUILD_TYPE-from-toolchain-file.patch | 52 ++++++++++++++++++++++
>  1 file changed, 52 insertions(+)
>  create mode 100644 package/webkitgtk/0001-CMake-Values-of-CMAKE_BUILD_TYPE-from-toolchain-file.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list