aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-06-11 11:36:45 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-06-11 13:33:08 +0200
commit86409d71c641513ca43b12d135cc03702d347085 (patch)
tree8a57b4f855ac631b74b8abf38362cb8464096257 /src
parentb83d33a4b193297743c0b5612cd610ebebd44d1d (diff)
downloadremote-logon-service-86409d71c641513ca43b12d135cc03702d347085.tar.gz
remote-logon-service-86409d71c641513ca43b12d135cc03702d347085.tar.bz2
remote-logon-service-86409d71c641513ca43b12d135cc03702d347085.zip
autoconf: Don't set -Werror globally, but for selected targets only.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
1 files changed, 4 insertions, 0 deletions
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)