logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: bc478157b57585892014050bf5088d828b0481c1
parent 1bdaf71c67a03865175a033d14dba00a81d8f7b9
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 23 Sep 2023 21:14:34 +0200

net-libs/webkit-gtk: Use RelWithDebInfo and remove -DNDEBUG

Diffstat:

Mnet-libs/webkit-gtk/webkit-gtk-2.42.0-r410.ebuild5++++-
Mnet-libs/webkit-gtk/webkit-gtk-2.42.0-r600.ebuild5++++-
Mnet-libs/webkit-gtk/webkit-gtk-2.42.0.ebuild5++++-
3 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/net-libs/webkit-gtk/webkit-gtk-2.42.0-r410.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.42.0-r410.ebuild @@ -167,6 +167,9 @@ src_prepare() { src_configure() { if use debug; then CMAKE_BUILD_TYPE="Debug" + else + # TODO: Release type if -g* is unspecified + CMAKE_BUILD_TYPE="RelWithDebInfo" fi # Respect CC, otherwise fails on prefix #395875 @@ -255,7 +258,7 @@ src_configure() { ) # https://bugs.gentoo.org/761238 - append-cppflags -DNDEBUG + #append-cppflags -DNDEBUG cmake_src_configure } diff --git a/net-libs/webkit-gtk/webkit-gtk-2.42.0-r600.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.42.0-r600.ebuild @@ -167,6 +167,9 @@ src_prepare() { src_configure() { if use debug; then CMAKE_BUILD_TYPE="Debug" + else + # TODO: Release type if -g* is unspecified + CMAKE_BUILD_TYPE="RelWithDebInfo" fi # Respect CC, otherwise fails on prefix #395875 @@ -255,7 +258,7 @@ src_configure() { ) # https://bugs.gentoo.org/761238 - append-cppflags -DNDEBUG + #append-cppflags -DNDEBUG cmake_src_configure } diff --git a/net-libs/webkit-gtk/webkit-gtk-2.42.0.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.42.0.ebuild @@ -167,6 +167,9 @@ src_prepare() { src_configure() { if use debug; then CMAKE_BUILD_TYPE="Debug" + else + # TODO: Release type if -g* is unspecified + CMAKE_BUILD_TYPE="RelWithDebInfo" fi # Respect CC, otherwise fails on prefix #395875 @@ -255,7 +258,7 @@ src_configure() { ) # https://bugs.gentoo.org/761238 - append-cppflags -DNDEBUG + #append-cppflags -DNDEBUG cmake_src_configure }