From 5db66eaa13af265e6e3cb1ab459d3431f7b595bd Mon Sep 17 00:00:00 2001 From: Takuya Wakazono Date: Tue, 7 Nov 2023 23:01:38 +0900 Subject: [PATCH] net-misc/megasync: strip unnecessary CXXFLAGS Closes: https://bugs.gentoo.org/916992 Signed-off-by: Takuya Wakazono --- .../files/megasync-4.10.0.0_fix-build.patch | 13 +++++++++++++ net-misc/megasync/megasync-4.10.0.0.ebuild | 3 +-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/net-misc/megasync/files/megasync-4.10.0.0_fix-build.patch b/net-misc/megasync/files/megasync-4.10.0.0_fix-build.patch index dfb6b9f3b1..2fa2e3aac2 100644 --- a/net-misc/megasync/files/megasync-4.10.0.0_fix-build.patch +++ b/net-misc/megasync/files/megasync-4.10.0.0_fix-build.patch @@ -18,6 +18,19 @@ index 33668b4ee..061e0d445 100644 update_cache.path = $$PWD - INSTALLS += update_cache } +diff --git a/src/MEGASync/google_breakpad/google_breakpad.pri b/src/MEGASync/google_breakpad/google_breakpad.pri +index 122268aba..cd141a5f9 100644 +--- a/src/MEGASync/google_breakpad/google_breakpad.pri ++++ b/src/MEGASync/google_breakpad/google_breakpad.pri +@@ -43,8 +43,6 @@ unix:!macx { + SOURCES += $$PWD/common/linux/elfutils.cc + SOURCES += $$PWD/common/string_conversion.cc + SOURCES += $$PWD/common/convert_UTF.c +- +- QMAKE_CXXFLAGS+=-g + } + + win32 { diff --git a/src/MEGASync/platform/platform.pri b/src/MEGASync/platform/platform.pri index 99f4dbd4f..ef5553508 100644 --- a/src/MEGASync/platform/platform.pri diff --git a/net-misc/megasync/megasync-4.10.0.0.ebuild b/net-misc/megasync/megasync-4.10.0.0.ebuild index e71a988b03..27222f3a63 100644 --- a/net-misc/megasync/megasync-4.10.0.0.ebuild +++ b/net-misc/megasync/megasync-4.10.0.0.ebuild @@ -113,8 +113,7 @@ src_configure() { $(use_enable examples) \ $(use_enable java) \ $(use_enable php) \ - $(use_enable python) \ - "--enable-gcc-hardening" + $(use_enable python) cd "${S}/src" local myeqmakeargs=(