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-examples.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-examples.am')
-rw-r--r-- | Makefile-examples.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile-examples.am b/Makefile-examples.am index 8e5985bb..cc882a86 100644 --- a/Makefile-examples.am +++ b/Makefile-examples.am @@ -1,7 +1,8 @@ noinst_PROGRAMS += glib-print glib_print_SOURCES = examples/glib-print.c -glib_print_CFLAGS = $(GOBJECT_CFLAGS) -I$(top_srcdir)/girepository +glib_print_CFLAGS = $(GOBJECT_CFLAGS) $(WARN_CFLAGS) -I$(top_srcdir)/girepository +glib_print_LDFLAGS = $(WARN_LDFLAGS) glib_print_LDADD = libgirepository-1.0.la $(GOBJECT_LIBS) EXTRA_DIST += \ |