diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-11-19 12:28:59 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-11-20 15:27:15 +0100 |
commit | 448e8fe7c50493c2c42399ed903906b9bb35d244 (patch) | |
tree | 834c3a7027f8e7eeb3e13444100bc123d4c309df /src/mbim-proxy | |
parent | fce75f2242e4e1a38e300b3af527ee131c32f980 (diff) | |
download | libmbim-448e8fe7c50493c2c42399ed903906b9bb35d244.tar.gz |
build: use AX_IS_RELEASE() and AX_COMPILER_FLAGS()
The autoconf macros AX_COMPILER_FLAGS_{CFLAGS|GIR|LDFLAGS} test
for compiler and linker support of various flags, and add the flags to
the generated output.
If the command-line option '--enable-compile-warnings' is specified to
'configure', a number of additional warning options is also added to
the output. This is the default.
This update requires the presence of the GNU autoconf-archive in the
system when building from git (not required when building from a
source tarball).
Diffstat (limited to 'src/mbim-proxy')
-rw-r--r-- | src/mbim-proxy/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbim-proxy/Makefile.am b/src/mbim-proxy/Makefile.am index 93280a2..5291072 100644 --- a/src/mbim-proxy/Makefile.am +++ b/src/mbim-proxy/Makefile.am @@ -2,6 +2,7 @@ libexec_PROGRAMS = mbim-proxy mbim_proxy_CPPFLAGS = \ + $(WARN_CFLAGS) \ $(MBIMPROXY_CFLAGS) \ -I$(top_srcdir) \ -I$(top_srcdir)/src/libmbim-glib \ @@ -17,6 +18,7 @@ mbim_proxy_LDADD = \ $(NULL) mbim_proxy_LDFLAGS = \ + $(WARN_LDFLAGS) \ $(MBIMPROXY_LIBS) \ $(NULL) |