let monkey generate unused-but-set-variable without causing an error

This commit is contained in:
Vincent Sanders 2012-12-13 15:52:55 +00:00
parent 5a5451a0c5
commit 0ff9d85813

View File

@ -47,7 +47,9 @@ $(eval $(call feature_enabled,WEBP,-DWITH_WEBP,-lwebp -lvpx,WebP (libwebp)))
MONKEYLDFLAGS := -lm $(shell $(PKG_CONFIG) --cflags --libs glib-2.0 lcms)
CFLAGS += $(MONKEYCFLAGS) -Werror -Wno-unused-but-set-variable
MONKEYWARNFLAGS := -Werror -Wno-error=unused-but-set-variable
CFLAGS += $(MONKEYCFLAGS) $(MONKEYWARNFLAGS)
LDFLAGS += $(MONKEYLDFLAGS)
# ---------------------------------------------------------------------------