1 |
commit: ff6ece98782eadcc7fffcd741f995cd3e217a144 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 12 08:02:52 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 12 08:03:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff6ece98 |
7 |
|
8 |
dev-python/pydevd: drop extra_compile_args from setup.py |
9 |
|
10 |
Closes: https://bugs.gentoo.org/812707 |
11 |
Package-Manager: Portage-3.0.23, Repoman-3.0.3 |
12 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
13 |
|
14 |
dev-python/pydevd/pydevd-2.5.0-r1.ebuild | 6 ++++++ |
15 |
1 file changed, 6 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/pydevd/pydevd-2.5.0-r1.ebuild b/dev-python/pydevd/pydevd-2.5.0-r1.ebuild |
18 |
index 3913d83201a..2a7dca55693 100644 |
19 |
--- a/dev-python/pydevd/pydevd-2.5.0-r1.ebuild |
20 |
+++ b/dev-python/pydevd/pydevd-2.5.0-r1.ebuild |
21 |
@@ -42,6 +42,12 @@ distutils_enable_tests pytest |
22 |
python_prepare_all() { |
23 |
distutils-r1_python_prepare_all |
24 |
|
25 |
+ # Drop -O3 and -flto compiler args |
26 |
+ sed -i \ |
27 |
+ -e 's/extra_link_args = extra_compile_args\[\:\]/pass/g' \ |
28 |
+ -e '/extra_compile_args/d' \ |
29 |
+ setup.py || die |
30 |
+ |
31 |
# Clean up some prebuilt files |
32 |
rm -r third_party || die |
33 |
cd pydevd_attach_to_process || die |