aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-04 06:09:36 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-04 07:20:49 -0300
commitc12d860bd3162706d7a39f37887826063680c04d (patch)
tree889f8cc9677b9731a00cbe17de2e7d605ea8f960 /src
parent16c8f03b7cd32dd040af1771411c9a906af94fe8 (diff)
Enable warnings when building Camorama
There are lots of warnings that are disabled when building camorama. Enable them, as they may show real bugs. Yet, as we still have lots of such warnings, don't threat warnings as errors. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
-rw-r--r--src/Makefile.in4
2 files changed, 7 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index d4f5a5b..71d08bd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -7,6 +7,9 @@ AM_CPPFLAGS=\
bin_PROGRAMS = camorama
+AM_CFLAGS = $(WARN_CFLAGS)
+AM_LDFLAGS = $(WARN_LDFLAGS)
+
camorama_SOURCES = \
callbacks.c \
camorama-filter-chain.c \
diff --git a/src/Makefile.in b/src/Makefile.in
index 4782c57..d574653 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -240,6 +240,8 @@ STRIP = @STRIP@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
WARN_CFLAGS = @WARN_CFLAGS@
+WARN_LDFLAGS = @WARN_LDFLAGS@
+WARN_SCANNERFLAGS = @WARN_SCANNERFLAGS@
XGETTEXT = @XGETTEXT@
XGETTEXT_015 = @XGETTEXT_015@
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
@@ -299,6 +301,8 @@ AM_CPPFLAGS = \
-g \
$(NULL)
+AM_CFLAGS = $(WARN_CFLAGS)
+AM_LDFLAGS = $(WARN_LDFLAGS)
camorama_SOURCES = \
callbacks.c \
camorama-filter-chain.c \

Privacy Policy