shithub: mc

Download patch

ref: d58f623506477f6595143a3ee0bae1fe6735d694
parent: 6c8f9384b71cf67e05d77f5bbafa9c201d9fedb2
author: Ori Bernstein <[email protected]>
date: Tue Aug 19 06:18:14 EDT 2014

Add back the warning flags.

--- a/mk/c.mk
+++ b/mk/c.mk
@@ -6,7 +6,7 @@
 _LIBINCPATHS=$(addprefix -I, $(dir $(DEPS)))
 _LIBPATHS=$(addprefix -l, $(patsubst lib%.a,%,$(notdir $(DEPS))))
 
-CFLAGS ?= -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -g
+CFLAGS += -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -g
 CFLAGS += -MMD -MP -MF ${_DEPSDIR}/$(subst /,-,$*).d
 
 LIB ?= $(INSTLIB)