mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
mesa: build with debug assertions disabled (#569325)
This commit is contained in:
@@ -201,6 +201,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
mesonFlags = [
|
||||
"--sysconfdir=/etc"
|
||||
|
||||
# Disable debug assertions for performance/compatibility
|
||||
# https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/docs/meson.rst?ref_type=heads#options
|
||||
(lib.mesonBool "b_ndebug" true)
|
||||
|
||||
# What to build
|
||||
(lib.mesonOption "platforms" (lib.concatStringsSep "," eglPlatforms))
|
||||
(lib.mesonOption "gallium-drivers" (lib.concatStringsSep "," galliumDrivers))
|
||||
|
||||
Reference in New Issue
Block a user