summaryrefslogtreecommitdiff
path: root/build-aux/compile-all.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-01-31 21:59:01 +0100
committerLudovic Courtès <ludo@gnu.org>2016-02-01 08:59:13 +0100
commit689b658db8770fd5af08bd00050e2b81c749379b (patch)
tree82941461f7777b97367e094225b1a57943fbae64 /build-aux/compile-all.scm
parentb8638f03471a0c45f441caef1acf2dad7c457661 (diff)
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.
Diffstat (limited to 'build-aux/compile-all.scm')
-rw-r--r--build-aux/compile-all.scm5
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)