build: add -Wno-unused-parameter
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
ff6a814770
commit
da8dcfbfc9
|
@ -106,7 +106,7 @@ if USING_GCC
|
||||||
AWESOME_CFLAGS = -std=gnu99 -pipe \
|
AWESOME_CFLAGS = -std=gnu99 -pipe \
|
||||||
-Wall -Wextra \
|
-Wall -Wextra \
|
||||||
-Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare \
|
-Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare \
|
||||||
-Wunused -Winit-self -Wpointer-arith -Wredundant-decls \
|
-Wunused -Wno-unused-parameter -Winit-self -Wpointer-arith -Wredundant-decls \
|
||||||
-Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn
|
-Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn
|
||||||
endif
|
endif
|
||||||
AM_CPPFLAGS = $(pangocairo_CFLAGS) $(AWESOME_CFLAGS) \
|
AM_CPPFLAGS = $(pangocairo_CFLAGS) $(AWESOME_CFLAGS) \
|
||||||
|
|
Loading…
Reference in New Issue