From 1937629476214f1492dca620d5290c34a0c0b118 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Fri, 22 Sep 2023 16:12:42 -0400 Subject: dev-qt/qtwebengine: use -g1 rather than -g (qt6) Turns out -g is still too much, or at least with gcc+bfd. Closes: https://bugs.gentoo.org/914475 Signed-off-by: Ionen Wolkens --- dev-qt/qtwebengine/qtwebengine-6.5.2-r1.ebuild | 9 ++++----- dev-qt/qtwebengine/qtwebengine-6.5.9999.ebuild | 9 ++++----- dev-qt/qtwebengine/qtwebengine-6.6.9999.ebuild | 9 ++++----- dev-qt/qtwebengine/qtwebengine-6.9999.ebuild | 9 ++++----- 4 files changed, 16 insertions(+), 20 deletions(-) (limited to 'dev-qt') diff --git a/dev-qt/qtwebengine/qtwebengine-6.5.2-r1.ebuild b/dev-qt/qtwebengine/qtwebengine-6.5.2-r1.ebuild index fd862d5b141f..01b5cf6327c3 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.5.2-r1.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.5.2-r1.ebuild @@ -115,8 +115,7 @@ qtwebengine_check-reqs() { ewarn ewarn "Used CFLAGS/CXXFLAGS seem to enable debug info (-g or -ggdb), which" ewarn "is non-trivial with ${PN}. May experience extended compilation" - ewarn "times, increased disk/memory usage, and potentially linking issues" - ewarn "when using more expensive debug symbols (e.g. -ggdb3 rather than -g)." + ewarn "times, increased disk/memory usage, and potentially link failure." ewarn ewarn "If run into issues, please try disabling before reporting a bug." fi @@ -216,9 +215,9 @@ src_configure() { if use !custom-cflags; then strip-flags # fragile - if is-flagq '-g?(gdb)?([3-9])'; then #914475 - replace-flags '-g?(gdb)?([3-9])' -g - ewarn "-g3+/-ggdb* *FLAGS replaced by -g, enable USE=custom-cflags to keep." + if is-flagq '-g?(gdb)?([2-9])'; then #914475 + replace-flags '-g?(gdb)?([2-9])' -g1 + ewarn "-g2+/-ggdb* *FLAGS replaced with -g1 (enable USE=custom-cflags to keep)" fi fi diff --git a/dev-qt/qtwebengine/qtwebengine-6.5.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-6.5.9999.ebuild index 8435e3c7491d..26cc25ef040a 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.5.9999.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.5.9999.ebuild @@ -116,8 +116,7 @@ qtwebengine_check-reqs() { ewarn ewarn "Used CFLAGS/CXXFLAGS seem to enable debug info (-g or -ggdb), which" ewarn "is non-trivial with ${PN}. May experience extended compilation" - ewarn "times, increased disk/memory usage, and potentially linking issues" - ewarn "when using more expensive debug symbols (e.g. -ggdb3 rather than -g)." + ewarn "times, increased disk/memory usage, and potentially link failure." ewarn ewarn "If run into issues, please try disabling before reporting a bug." fi @@ -217,9 +216,9 @@ src_configure() { if use !custom-cflags; then strip-flags # fragile - if is-flagq '-g?(gdb)?([3-9])'; then #914475 - replace-flags '-g?(gdb)?([3-9])' -g - ewarn "-g3+/-ggdb* *FLAGS replaced by -g, enable USE=custom-cflags to keep." + if is-flagq '-g?(gdb)?([2-9])'; then #914475 + replace-flags '-g?(gdb)?([2-9])' -g1 + ewarn "-g2+/-ggdb* *FLAGS replaced with -g1 (enable USE=custom-cflags to keep)" fi fi diff --git a/dev-qt/qtwebengine/qtwebengine-6.6.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-6.6.9999.ebuild index 7a3630279acb..eb5c41d58d17 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.6.9999.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.6.9999.ebuild @@ -122,8 +122,7 @@ qtwebengine_check-reqs() { ewarn ewarn "Used CFLAGS/CXXFLAGS seem to enable debug info (-g or -ggdb), which" ewarn "is non-trivial with ${PN}. May experience extended compilation" - ewarn "times, increased disk/memory usage, and potentially linking issues" - ewarn "when using more expensive debug symbols (e.g. -ggdb3 rather than -g)." + ewarn "times, increased disk/memory usage, and potentially link failure." ewarn ewarn "If run into issues, please try disabling before reporting a bug." fi @@ -227,9 +226,9 @@ src_configure() { if use !custom-cflags; then strip-flags # fragile - if is-flagq '-g?(gdb)?([3-9])'; then #914475 - replace-flags '-g?(gdb)?([3-9])' -g - ewarn "-g3+/-ggdb* *FLAGS replaced by -g, enable USE=custom-cflags to keep." + if is-flagq '-g?(gdb)?([2-9])'; then #914475 + replace-flags '-g?(gdb)?([2-9])' -g1 + ewarn "-g2+/-ggdb* *FLAGS replaced with -g1 (enable USE=custom-cflags to keep)" fi fi diff --git a/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild index b09d7c0d0f18..f5fef16f226d 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild @@ -122,8 +122,7 @@ qtwebengine_check-reqs() { ewarn ewarn "Used CFLAGS/CXXFLAGS seem to enable debug info (-g or -ggdb), which" ewarn "is non-trivial with ${PN}. May experience extended compilation" - ewarn "times, increased disk/memory usage, and potentially linking issues" - ewarn "when using more expensive debug symbols (e.g. -ggdb3 rather than -g)." + ewarn "times, increased disk/memory usage, and potentially link failure." ewarn ewarn "If run into issues, please try disabling before reporting a bug." fi @@ -227,9 +226,9 @@ src_configure() { if use !custom-cflags; then strip-flags # fragile - if is-flagq '-g?(gdb)?([3-9])'; then #914475 - replace-flags '-g?(gdb)?([3-9])' -g - ewarn "-g3+/-ggdb* *FLAGS replaced by -g, enable USE=custom-cflags to keep." + if is-flagq '-g?(gdb)?([2-9])'; then #914475 + replace-flags '-g?(gdb)?([2-9])' -g1 + ewarn "-g2+/-ggdb* *FLAGS replaced with -g1 (enable USE=custom-cflags to keep)" fi fi -- cgit v1.2.3-65-gdbad