summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-08-21 10:37:20 +0200
committerChristian Göttsche <cgzones@googlemail.com>2020-08-21 10:37:20 +0200
commit57254cdd05981a6d2c035f868316bbca2c5495f3 (patch)
treeaceef5912ed948f336f666c98810d66b85cbc0cf /Makefile.am
parent0b276f80f14959ff3e5c2ab04f816cd83f86dc7c (diff)
configure: add option --enable-werror
Adds the compiler flag -Werror to fail on warnings. Useful for CI runs.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 159e22a7..0cc47b69 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,7 +12,7 @@ applications_DATA = htop.desktop
pixmapdir = $(datadir)/pixmaps
pixmap_DATA = htop.png
-AM_CFLAGS = -pedantic -Wall $(wextra_flag) -std=c99 -D_XOPEN_SOURCE_EXTENDED -DSYSCONFDIR=\"$(sysconfdir)\" -I"$(top_srcdir)/$(my_htop_platform)"
+AM_CFLAGS += -pedantic -Wall $(wextra_flag) -std=c99 -D_XOPEN_SOURCE_EXTENDED -DSYSCONFDIR=\"$(sysconfdir)\" -I"$(top_srcdir)/$(my_htop_platform)"
AM_LDFLAGS =
AM_CPPFLAGS = -DNDEBUG

© 2014-2024 Faster IT GmbH | imprint | privacy policy