mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
build: Really enable Guile warnings.
* build-aux/compile-all.scm (compile-options): Rename to... (warnings): ... this. Add 'unsupported-warning'. (compile-file*): Pass '(#:warnings ...) as #:opts.
This commit is contained in:
parent
b8638f0347
commit
689b658db8
1 changed files with 3 additions and 2 deletions
|
@ -21,7 +21,8 @@
|
|||
(ice-9 threads)
|
||||
(guix build utils))
|
||||
|
||||
(define compile-options '(format unbound-variable arity-mismatch))
|
||||
(define warnings
|
||||
'(unsupported-warning format unbound-variable arity-mismatch))
|
||||
|
||||
(define host (getenv "host"))
|
||||
|
||||
|
@ -70,7 +71,7 @@ (define (compile-file* file output-mutex)
|
|||
(lambda ()
|
||||
(compile-file file
|
||||
#:output-file go
|
||||
#:opts compile-options)))))
|
||||
#:opts `(#:warnings ,warnings))))))
|
||||
|
||||
(match (command-line)
|
||||
((_ . files)
|
||||
|
|
Loading…
Reference in a new issue