summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2016-07-18 20:27:24 -0500
committerEric Bavier <bavier@member.fsf.org>2016-07-18 20:28:21 -0500
commit0935fb271b69d14d56829595ad39c8b9979c7cf9 (patch)
tree745e24027d8056ea310be2cc04b96e99919d2882
parent3b956a3392fc277e80ffe0477592c1d00664f513 (diff)
downloadguix-0935fb271b69d14d56829595ad39c8b9979c7cf9.tar.gz
gnu: llvm: Build without debugging symbols.
* gnu/packages/llvm.scm (llvm)[arguments]: Add #:build-type.
-rw-r--r--gnu/packages/llvm.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index beb09fa86e..c380eba122 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -57,7 +57,10 @@
     (arguments
      `(#:configure-flags '("-DCMAKE_SKIP_BUILD_RPATH=FALSE"
                            "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE"
-                           "-DLLVM_ENABLE_FFI:BOOL=TRUE")))
+                           "-DLLVM_ENABLE_FFI:BOOL=TRUE")
+
+       ;; Don't use '-g' during the build, to save space.
+       #:build-type "Release"))
     (home-page "http://www.llvm.org")
     (synopsis "Optimizing compiler infrastructure")
     (description