diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-07-29 11:23:42 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-07-29 16:47:36 +0200 |
commit | 80923051b3e803bf5bdc118c3bac246a308497d6 (patch) | |
tree | 0ef4ea6ea1f870bce415ad449b4a7b6c54d36e0d /Makefile-gir.am | |
parent | 9748b3e9a0732a173337dcd64266e803a3c77c0e (diff) | |
download | gobject-introspection-80923051b3e803bf5bdc118c3bac246a308497d6.tar.gz |
autotools: start using AX_COMPILER_FLAGS, enable -Werror on CI
* This adds a new dependency on autoconf-archive.
* Pass WARN_CFLAGS/WARN_LDFLAGS/WARN_SCANNERFLAGS to everything we control the source of
* Disables all warning flags which make the build error out for now, we'll re-enable them
in followup commits.
* AX_COMPILER_FLAGS is used with the release flag always on so we don't get
-Werror by default.
Diffstat (limited to 'Makefile-gir.am')
-rw-r--r-- | Makefile-gir.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile-gir.am b/Makefile-gir.am index 0b9cb177..2cd73586 100644 --- a/Makefile-gir.am +++ b/Makefile-gir.am @@ -197,7 +197,7 @@ GIRepository-2.0.gir: GObject-2.0.gir libgirepository-1.0.la GIRepository_2_0_gir_LIBS = libgirepository-1.0.la GIRepository_2_0_gir_SCANNERFLAGS = \ - --warn-all \ + $(WARN_SCANNERFLAGS) \ --identifier-prefix=GI \ --symbol-prefix=g \ --c-include="girepository.h" \ |