commit: 3d56c8907d201bbe16a196e30e972e83e8db0aa0 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Tue Sep 11 16:33:40 2018 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Tue Sep 11 16:36:39 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d56c890
media-libs/mesa: Enable asserts only with USE=debug Closes: https://bugs.gentoo.org/665450 media-libs/mesa/{mesa-18.2.0.ebuild => mesa-18.2.0-r1.ebuild} | 1 + media-libs/mesa/mesa-9999.ebuild | 1 + 2 files changed, 2 insertions(+) diff --git a/media-libs/mesa/mesa-18.2.0.ebuild b/media-libs/mesa/mesa-18.2.0-r1.ebuild similarity index 99% rename from media-libs/mesa/mesa-18.2.0.ebuild rename to media-libs/mesa/mesa-18.2.0-r1.ebuild index ce53ca4e9ad..68ef0d429ed 100644 --- a/media-libs/mesa/mesa-18.2.0.ebuild +++ b/media-libs/mesa/mesa-18.2.0-r1.ebuild @@ -477,6 +477,7 @@ multilib_src_configure() { -Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}") -Dvulkan-drivers=$(driver_list "${VULKAN_DRIVERS[*]}") --buildtype $(usex debug debug plain) + -Db_ndebug=$(usex debug false true) ) meson_src_configure } diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index a930dcd57c2..2fd5700404f 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -477,6 +477,7 @@ multilib_src_configure() { -Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}") -Dvulkan-drivers=$(driver_list "${VULKAN_DRIVERS[*]}") --buildtype $(usex debug debug plain) + -Db_ndebug=$(usex debug false true) ) meson_src_configure }