From 84f0770e6ff98f872d0627e759145c5c1ecccebd Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 22 Jan 2013 15:45:33 +0100 Subject: [PATCH] Compile with -Werror. --- lib/Makefile.am | 2 +- lib/examples/Makefile.am | 2 +- lib/radsecproxy/Makefile.am | 2 +- lib/tests/Makefile.am | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Makefile.am b/lib/Makefile.am index 9415c3d..46f573a 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -20,7 +20,7 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = radius radsecproxy . include examples INCLUDES = -I$(srcdir)/include -AM_CFLAGS = -Wall -g +AM_CFLAGS = -Wall -Werror -g lib_LTLIBRARIES = libradsec.la diff --git a/lib/examples/Makefile.am b/lib/examples/Makefile.am index 17b87a3..bfd31e8 100644 --- a/lib/examples/Makefile.am +++ b/lib/examples/Makefile.am @@ -1,6 +1,6 @@ AUTOMAKE_OPTIONS = foreign INCLUDES = -I$(top_srcdir)/include -AM_CFLAGS = -Wall -g +AM_CFLAGS = -Wall -Werror -g noinst_PROGRAMS = client client_SOURCES = client-blocking.c diff --git a/lib/radsecproxy/Makefile.am b/lib/radsecproxy/Makefile.am index 16b66ae..0d4a882 100644 --- a/lib/radsecproxy/Makefile.am +++ b/lib/radsecproxy/Makefile.am @@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I m4 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir) -AM_CFLAGS = -Wall -g +AM_CFLAGS = -Wall -Werror -g noinst_LTLIBRARIES = libradsec-radsecproxy.la diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am index 7c5408b..33ddb51 100644 --- a/lib/tests/Makefile.am +++ b/lib/tests/Makefile.am @@ -1,6 +1,6 @@ AUTOMAKE_OPTIONS = foreign INCLUDES = -I$(top_srcdir)/include -AM_CFLAGS = -Wall -g +AM_CFLAGS = -Wall -Werror -g TESTS = test-udp -- 2.1.4