mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-01 08:44:25 +03:00
let monkey generate unused-but-set-variable without causing an error
This commit is contained in:
parent
5a5451a0c5
commit
0ff9d85813
@ -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)
|
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)
|
LDFLAGS += $(MONKEYLDFLAGS)
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user