Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 904139

Summary: dev-games/irrlicht-mt: needs to trim some compile option defined upstream
Product: Gentoo Linux Reporter: Samuel Bauer <samuel.bauer>
Component: Current packagesAssignee: Marek Szuba <marecki>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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(+)