Skip to content

Commit

Permalink
Enable -Werror for src/ and libpkg/ to avoid things like 4a5aa73
Browse files Browse the repository at this point in the history
  • Loading branch information
bdrewery committed Sep 18, 2014
1 parent 43d2587 commit f4819b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion libpkg/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ pkg_common_cflags= -I$(top_srcdir)/libpkg \
-I$(top_srcdir)/external/uthash \
-I$(top_srcdir)/external/sqlite \
-DPREFIX=\"$(prefix)\" \
-Wno-pointer-sign
-Wno-pointer-sign \
-Werror
libpkg_la_SOURCES= pkg.c \
backup.c \
dns_utils.c \
Expand Down
3 changes: 2 additions & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ pkg_LDADD= $(top_builddir)/libpkg/libpkg.la \
pkg_CFLAGS= -I$(top_srcdir)/libpkg \
-I$(top_srcdir)/external/uthash \
-I$(top_srcdir)/external/expat/lib \
-DGITHASH=\"$(GIT_HEAD)\"
-DGITHASH=\"$(GIT_HEAD)\" \
-Werror
pkg_static_SOURCES=
pkg_static_LDADD= $(top_builddir)/libpkg/libpkg_static.la \
$(top_builddir)/external/libsbuf_static.la \
Expand Down

0 comments on commit f4819b1

Please sign in to comment.