aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Wakazono <pastalian46@gmail.com>2023-11-07 23:01:38 +0900
committerTakuya Wakazono <pastalian46@gmail.com>2023-11-07 23:01:38 +0900
commit5db66eaa13af265e6e3cb1ab459d3431f7b595bd (patch)
tree19083f111e3ea62e4fc6e09e990049c8b9fd6700
parentgames-emulation/dosbox-x: Drop 2023.09.01 (diff)
downloadguru-5db66eaa13af265e6e3cb1ab459d3431f7b595bd.tar.gz
guru-5db66eaa13af265e6e3cb1ab459d3431f7b595bd.tar.bz2
guru-5db66eaa13af265e6e3cb1ab459d3431f7b595bd.zip
net-misc/megasync: strip unnecessary CXXFLAGS
Closes: https://bugs.gentoo.org/916992 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
-rw-r--r--net-misc/megasync/files/megasync-4.10.0.0_fix-build.patch13
-rw-r--r--net-misc/megasync/megasync-4.10.0.0.ebuild3
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 dfb6b9f3b..2fa2e3aac 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 e71a988b0..27222f3a6 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=(