Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904139 - dev-games/irrlicht-mt: needs to trim some compile option defined upstream
Summary: dev-games/irrlicht-mt: needs to trim some compile option defined upstream
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-10 18:10 UTC by Samuel Bauer
Modified: 2023-05-11 11:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Bauer 2023-04-10 18:10:37 UTC
As an example irrlicht-mt is compiled with debug infos, then in most cases debug infos are stripped from the installed libraries.
I guess flags to touch are quite similar as the ones also removed by games-action/minetest ebuild.


Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2023-05-11 11:08:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a92ca500789702b63006c70e3662c045289e2f2

commit 5a92ca500789702b63006c70e3662c045289e2f2
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-05-11 11:03:15 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-05-11 11:08:32 +0000

    dev-games/irrlicht-mt: suppress upstream optimisation/debug compiler flags
    
    Both -O3 and -g is something we leave up to the users to set or not set.
    Leave the setting of -mfpmath=sse on x86 be though, upstream has had a
    valid reason for enabling this - see
    https://github.com/minetest/minetest/issues/11810 .
    
    Closes: https://bugs.gentoo.org/904139
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../files/irrlicht-mt-1.9.0.10-no_upstream_optflags.patch    | 12 ++++++++++++
 ...cht-mt-1.9.0.10.ebuild => irrlicht-mt-1.9.0.10-r1.ebuild} |  4 ++++
 2 files changed, 16 insertions(+)