BUILD: ignore -Wunused-parameter
Can happen in callback functions and so forth.
This commit is contained in:
parent
417ce9c0f2
commit
66da54b3a3
@ -4,7 +4,7 @@ PKG_CONFIG ?= pkg-config
|
|||||||
|
|
||||||
# flags
|
# flags
|
||||||
CFLAGS ?= -march=native -O2 -pipe
|
CFLAGS ?= -march=native -O2 -pipe
|
||||||
CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror -Wno-unused-variable
|
CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror -Wno-unused-variable -Wno-unused-parameter
|
||||||
ifeq ($(shell $(CC) -v 2>&1 | grep 'gcc version' &>/dev/null && echo 1),1)
|
ifeq ($(shell $(CC) -v 2>&1 | grep 'gcc version' &>/dev/null && echo 1),1)
|
||||||
CFLAGS += -Wno-unused-but-set-variable
|
CFLAGS += -Wno-unused-but-set-variable
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user