gnu: clang: Build without debugging symbols.

* gnu/packages/llvm.scm (clang-from-llvm)[arguments]: Add #:build-type.
master
Ludovic Courtès 2015-06-19 17:21:53 +02:00
parent fd6ae1b983
commit 94585e881f
1 changed files with 3 additions and 0 deletions

View File

@ -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