Fix build error for Linux with GCC 5.0+

This commit is contained in:
Dustin Hopper 2016-06-24 15:48:13 -06:00
parent 1121cdcadf
commit 70ef9c80f2
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ CFLAGS += $(INC_DIRS_OPTION) $(DEFINES_OPTION)
CFLAGS += -fPIC -fvisibility=hidden
ifneq "$(ALLOW_WARNINGS)" "1"
CFLAGS += -Werror
CFLAGS += -Werror -Wno-unused-variable
ifeq ("$(OSTYPE)","Darwin")
CFLAGS += -Wno-deprecated-declarations -Wno-unused-private-field -Wno-unused-const-variable
endif