diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-11-08 01:12:35 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-11-08 01:12:35 +0100 |
commit | 19977b7ce0f112534feb75c2eb2d497e596bae4e (patch) | |
tree | 179a060e6200fdeb0421f6a241a8ef20a51c11da /am | |
parent | bd36e901321eee0310d9ad14ff698ec85c006d26 (diff) |
Compile with `-Warity-mismatch'.
* am/guilec (GUILE_WARNINGS): New variable; add `-Warity-mismatch'.
(.scm.go): Use it.
Diffstat (limited to 'am')
-rw-r--r-- | am/guilec | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,8 @@ # -*- makefile -*- GOBJECTS = $(SOURCES:%.scm=%.go) +GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch + moddir = $(pkgdatadir)/$(GUILE_EFFECTIVE_VERSION)/$(modpath) nobase_mod_DATA = $(SOURCES) $(NOCOMP_SOURCES) ccachedir = $(pkglibdir)/$(GUILE_EFFECTIVE_VERSION)/ccache/$(modpath) @@ -32,4 +34,4 @@ SUFFIXES = .scm .go .scm.go: GUILE_AUTO_COMPILE=0 \ $(top_builddir)/meta/uninstalled-env \ - guile-tools compile -Wunbound-variable -o "$@" "$<" + guile-tools compile $(GUILE_WARNINGS) -o "$@" "$<" |