Conditionally disable unused-result on OpenBSD

This commit is contained in:
Steven Dee 2015-03-02 16:44:21 -05:00
parent bbe0cc0971
commit 21242e9c61

View File

@ -87,8 +87,10 @@ CWFLAGS=-Wall \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
-Wno-strict-aliasing \
-Wno-error=unused-result \
-Werror
ifneq ($(OS),bsd)
CWFLAGS+=-Wno-error=unused-result
endif
ifdef NO_SILENT_RULES
%.o: %.c $(CORE)