Skip to content

Commit

Permalink
Only -Werror in debug mode
Browse files Browse the repository at this point in the history
Ticket: None
Changelog: None
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
  • Loading branch information
larsewi committed May 7, 2024
1 parent 63d4d2a commit 7dc9060
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.63])
AC_INIT([leech], [0.1.19], [https://github.com/larsewi/leech/issues], [leech],
AC_INIT([leech], [0.1.20], [https://github.com/larsewi/leech/issues], [leech],
[https://github.com/larsewi/leech])
AC_CONFIG_SRCDIR([lib/leech.h])

Expand Down
5 changes: 4 additions & 1 deletion lib/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
AM_CFLAGS = -Wall -Wextra -Werror -Wconversion -Wformat
AM_CFLAGS = -Wall -Wextra -Wconversion -Wformat
if !NDEBUG
AM_CFLAGS += -Werror
endif
AM_CPPFLAGS = -include config.h

include_HEADERS = $(top_builddir)/lib/leech.h
Expand Down

0 comments on commit 7dc9060

Please sign in to comment.