Skip to content

Commit

Permalink
games-emulation/melonds: disable strict aliasing
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/858710
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jul 24, 2022
1 parent 1183eba commit 65321f5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions games-emulation/melonds/melonds-0.9.3-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ src_prepare() {
rm -r ./src/teakra || die

filter-lto
append-flags -fno-strict-aliasing

cmake_src_prepare
}

Expand Down
2 changes: 2 additions & 0 deletions games-emulation/melonds/melonds-0.9.4_p1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ src_prepare() {
rm -r ./src/teakra || die

filter-lto
append-flags -fno-strict-aliasing

cmake_src_prepare
}

Expand Down
4 changes: 3 additions & 1 deletion games-emulation/melonds/melonds-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@ DOC_CONTENTS="You need the following files in order to run melonDS:
Place them in ~/.config/melonDS
Those files can be found somewhere on the Internet ;-)"

src_prepare(){
src_prepare() {
filter-lto
append-flags -fno-strict-aliasing

cmake_src_prepare
}

Expand Down

0 comments on commit 65321f5

Please sign in to comment.