From 86409d71c641513ca43b12d135cc03702d347085 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 11 Jun 2021 11:36:45 +0200 Subject: autoconf: Don't set -Werror globally, but for selected targets only. --- src/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 6270105..d09828a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -22,6 +22,8 @@ libgenerated_la_SOURCES = \ remote-logon.h \ $(NULL) +# no -Werror here... +# The generation tools might lag behind the GNU C compiler's sensitivity libgenerated_la_CFLAGS = \ $(SERVICE_CFLAGS) \ $(NULL) @@ -57,6 +59,7 @@ libservers_la_SOURCES = \ libservers_la_CFLAGS = \ -DUCCS_QUERY_TOOL="\"remote-logon-config-agent\"" \ + -Werror \ $(SERVICE_CFLAGS) \ $(COVERAGE_CFLAGS) \ $(NULL) @@ -71,6 +74,7 @@ libservers_la_LDFLAGS = \ remote_logon_service_CFLAGS = \ -DDEFAULT_CONFIG_FILE="\"$(sysconfdir)/remote-logon-service.conf\"" \ + -Werror \ $(SERVICE_CFLAGS) \ $(COVERAGE_CFLAGS) \ $(NULL) -- cgit v1.2.3