diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-01-31 21:59:01 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-02-01 08:59:13 +0100 |
commit | 689b658db8770fd5af08bd00050e2b81c749379b (patch) | |
tree | 82941461f7777b97367e094225b1a57943fbae64 | |
parent | b8638f03471a0c45f441caef1acf2dad7c457661 (diff) | |
download | guix-689b658db8770fd5af08bd00050e2b81c749379b.tar.gz guix-689b658db8770fd5af08bd00050e2b81c749379b.zip |
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.
-rw-r--r-- | build-aux/compile-all.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build-aux/compile-all.scm b/build-aux/compile-all.scm index e0877dbe8c..f1704dcbdb 100644 --- a/build-aux/compile-all.scm +++ b/build-aux/compile-all.scm @@ -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 @@ (lambda () (compile-file file #:output-file go - #:opts compile-options))))) + #:opts `(#:warnings ,warnings)))))) (match (command-line) ((_ . files) |