diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-11 11:36:45 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-11 13:33:08 +0200 |
commit | 86409d71c641513ca43b12d135cc03702d347085 (patch) | |
tree | 8a57b4f855ac631b74b8abf38362cb8464096257 | |
parent | b83d33a4b193297743c0b5612cd610ebebd44d1d (diff) | |
download | remote-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.
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/Makefile.am | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 6e03318..1c42a98 100644 --- a/configure.ac +++ b/configure.ac @@ -98,7 +98,7 @@ AM_GLIB_GNU_GETTEXT # Flags ########################### -AC_SUBST(AM_CFLAGS, "-Wall -Werror") +AC_SUBST(AM_CFLAGS, "-Wall") AC_SUBST(AM_CPPFLAGS, $AM_CFLAGS) AC_OUTPUT 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) |