aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-06-19 17:21:53 +0200
committerLudovic Courtès <ludo@gnu.org>2015-06-19 17:23:48 +0200
commit94585e881f4b0346b4b9a402ef6f39cff5aadef7 (patch)
treecf0344fb62057d120d476e4615538ab633cdd8a6
parentfd6ae1b9836ffe74105f26930d101d1297849740 (diff)
downloadgnu-guix-94585e881f4b0346b4b9a402ef6f39cff5aadef7.tar
gnu-guix-94585e881f4b0346b4b9a402ef6f39cff5aadef7.tar.gz
gnu: clang: Build without debugging symbols.
* gnu/packages/llvm.scm (clang-from-llvm)[arguments]: Add #:build-type.
-rw-r--r--gnu/packages/llvm.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 1755f9c014..47710e69fc 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -113,6 +113,9 @@ tools as well as libraries with equivalent functionality.")
(assoc-ref %build-inputs "libc")
"/include"))
+ ;; Don't use '-g' during the build to save space.
+ #:build-type "Release"
+
#:phases (modify-phases %standard-phases
(add-after
'unpack 'set-glibc-file-names