Makefile: Add -Wnocast-function-type for compilation on gcc8.
Older GCC versions do not warn for disabled warnings they do not know yet. This is needed to compile with gcc8.
This commit is contained in:
parent
0b28232f72
commit
a6b75bb4ef
src
|
@ -10,7 +10,7 @@ endif
|
|||
|
||||
OPT_FLAGS ?= -O2
|
||||
|
||||
CFLAGS += -Wall -Wextra -Werror -Wno-char-subscripts\
|
||||
CFLAGS += -Wall -Wextra -Werror -Wno-char-subscripts -Wno-cast-function-type \
|
||||
$(OPT_FLAGS) -std=gnu99 -g3 -MD \
|
||||
-I. -Iinclude -Iplatforms/common -I$(PLATFORM_DIR)
|
||||
LDFLAGS += $(OPT_FLAGS)
|
||||
|
|
Loading…
Reference in New Issue