Skip to content

Commit

Permalink
dev-python/jpype: Remove upstream's default -O2 -g0 compile flags.
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/937760
Signed-off-by: Ivan Lloro <[email protected]>
  • Loading branch information
IvanLloro committed Aug 12, 2024
1 parent 9abd343 commit 18d68ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dev-python/jpype/jpype-1.5.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ distutils_enable_tests pytest
_distutils-r1_post_python_install() {
local keep
}

src_prepare() {
sed -i "s/'-g0', //g;s/, '-O2'//g" ${S}/setupext/platform.py
default
}

0 comments on commit 18d68ea

Please sign in to comment.