commit f70ffbb53218e6d26d9ef6babd8c106b105db18b from: Stefan Sperling date: Sat Feb 22 12:44:08 2020 UTC disable compiler warnings in release builds because -Werror is bad for ports sthen@ suggested to drop -Werror; I think we don't need any -W in release mode commit - 54b1c5b5cbd5f12a0e6d6e8a7e043528416012d2 commit + f70ffbb53218e6d26d9ef6babd8c106b105db18b blob - bb6ed69a102b03fb61b3fafbe7e4cd7487693514 blob + cbc71713c1117dd7d35aa7ca98f8dfffe14e14fc --- Makefile.inc +++ Makefile.inc @@ -1,5 +1,4 @@ CPPFLAGS += -DGOT_LIBEXECDIR=${LIBEXECDIR} -DGOT_VERSION=${GOT_VERSION} -CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable #CFLAGS += -DGOT_PACK_NO_MMAP #CFLAGS += -DGOT_NO_OBJ_CACHE #CFLAGS += -DGOT_OBJ_CACHE_DEBUG @@ -10,6 +9,7 @@ BINDIR ?= ${PREFIX}/bin LIBEXECDIR ?= ${PREFIX}/libexec MANDIR ?= ${PREFIX}/man/man .else +CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable PREFIX ?= ${HOME} BINDIR ?= ${PREFIX}/bin LIBEXECDIR ?= ${BINDIR}