media-libs/mesa: Enable asserts only with USE=debug
authorMatt Turner <mattst88@gentoo.org>
Tue, 11 Sep 2018 16:33:40 +0000 (09:33 -0700)
committerMatt Turner <mattst88@gentoo.org>
Tue, 11 Sep 2018 16:36:39 +0000 (09:36 -0700)
Closes: https://bugs.gentoo.org/665450

media-libs/mesa/mesa-18.2.0-r1.ebuild [moved from media-libs/mesa/mesa-18.2.0.ebuild with 99% similarity]
media-libs/mesa/mesa-9999.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 ce53ca4e9ad93e9be452458643a73a33e7e1603e..68ef0d429edd5f577bab08abfe6fee96eb7b2596 100644 (file)
@@ -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
 }
index a930dcd57c2edc1e3a041bc35914227e879452c5..2fd5700404f09640d178452a3bce9959c1198ab9 100644 (file)
@@ -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
 }