aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-07-24 17:10:32 -0400
committerDevin J. Pohly <djpohly@gmail.com>2020-07-24 17:10:32 -0400
commita224f26469f49c04f895d65aa8b66c37005f33c9 (patch)
tree754768995d3d85da0458725c35cbab51c2888858
parent66dce64145ed7e08be3e949bb635d2deaa0105dc (diff)
warn but don't error on unused function
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f542c88..6f9e1b8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
WAYLAND_PROTOCOLS=$(shell pkg-config --variable=pkgdatadir wayland-protocols)
WAYLAND_SCANNER=$(shell pkg-config --variable=wayland_scanner wayland-scanner)
-CFLAGS ?= -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare
+CFLAGS ?= -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-error=unused-function
CFLAGS += -I. -DWLR_USE_UNSTABLE -std=c99 -Werror=declaration-after-statement
PKGS = wlroots wayland-server xkbcommon