commit:     cbd773231ecfd53cbbf109475e125de038a98483
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sun Jan 12 09:34:04 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sun Jan 12 09:34:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cbd77323

media-libs/amdvlk: disable forced optimization

Closes: https://bugs.gentoo.org/887775
Closes: https://bugs.gentoo.org/941510
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 media-libs/amdvlk/amdvlk-2024.4.3.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/media-libs/amdvlk/amdvlk-2024.4.3.ebuild 
b/media-libs/amdvlk/amdvlk-2024.4.3.ebuild
index f24b8c155..ab86e0735 100644
--- a/media-libs/amdvlk/amdvlk-2024.4.3.ebuild
+++ b/media-libs/amdvlk/amdvlk-2024.4.3.ebuild
@@ -111,6 +111,9 @@ src_prepare() {
        mv MetroHash-${METROHASH_COMMIT}/ third_party/metrohash || die
        mv CWPack-${CWPACK_COMMIT}/ third_party/cwpack || die
        cmake_src_prepare
+
+       # disable forced optimization
+       sed -i '/-O3/d' xgl/cmake/XglCompilerOptions.cmake || die
 }
 
 multilib_src_configure() {

Reply via email to