From 04657b8f6ef57fe5f6b620dbfe6db8b9a097ad9b Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 25 Sep 2019 16:35:09 +0200 Subject: Use mate-compiler-flags.m4 provided by mate-common USAGE: ./autogen.sh --enable-compile-warnings=no/minimum/yes/maximum/error@ If --enable-compile-warnings is not provided, the default is --enable-compile-warnings=yes --- src/commands/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/commands') diff --git a/src/commands/Makefile.am b/src/commands/Makefile.am index 63d3d73..d423737 100644 --- a/src/commands/Makefile.am +++ b/src/commands/Makefile.am @@ -1,7 +1,12 @@ +NULL = + privexecdir = $(libexecdir)/$(PACKAGE) privexec_PROGRAMS = rpm2cpio -AM_CPPFLAGS = $(FR_CFLAGS) +AM_CPPFLAGS = \ + $(FR_CFLAGS) \ + $(WARN_CFLAGS) \ + $(NULL) rpm2cpio_SOURCES = rpm2cpio.c rpm2cpio_LDADD = $(FR_LIBS) -- cgit v1.2.1