aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-07-07 22:05:34 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-07-07 22:05:34 +0200
commit6fe808f4c3272cbf5329054aacfb1bafc302c4bc (patch)
treefc447a59b7d6898413fc12581b5c19ba3a96a08b
parentf826ac47040641ededa75a6702d0d263cab088f1 (diff)
downloadpatches-6fe808f4c3272cbf5329054aacfb1bafc302c4bc.tar
patches-6fe808f4c3272cbf5329054aacfb1bafc302c4bc.tar.gz
gnu: mesa: Use the "release" Meson build type.
* gnu/packages/gl.scm (mesa)[arguments]: Add <#:build-type>.
-rw-r--r--gnu/packages/gl.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 9ed043c7ae..f615ebd71c 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -331,6 +331,11 @@ also known as DXTn or DXTC) for Mesa.")
"-Dllvm=true")) ; default is x86/x86_64 only
(_
'("-Ddri-drivers=nouveau,r200,r100"))))
+
+ ;; XXX: 'debugoptimized' causes LTO link failures on some drivers. The
+ ;; documentation recommends using 'release' for performance anyway.
+ #:build-type "release"
+
#:modules ((ice-9 match)
(srfi srfi-1)
(guix build utils)