Merge pull request #433 from UweBonnes/gcc8
Makefile: Add -Wnocast-function-type for compilation on gcc8.
This commit is contained in:
commit
7032abd2b0
@ -10,7 +10,7 @@ endif
|
|||||||
|
|
||||||
OPT_FLAGS ?= -O2
|
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 \
|
$(OPT_FLAGS) -std=gnu99 -g3 -MD \
|
||||||
-I. -Iinclude -Iplatforms/common -I$(PLATFORM_DIR)
|
-I. -Iinclude -Iplatforms/common -I$(PLATFORM_DIR)
|
||||||
LDFLAGS += $(OPT_FLAGS)
|
LDFLAGS += $(OPT_FLAGS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user