Fix building with Gtk 4.10

Add -Wno-error=deprecated-declarations to the Makefile so that it
can build when using Gtk 4.10.
This commit is contained in:
Geoffrey D. Bennett
2023-09-07 02:10:48 +09:30
parent 59716b9585
commit fb9ccfed49

View File

@@ -10,6 +10,7 @@ DEPFLAGS = -MT $@ -MMD -MP -MF $(DEPDIR)/$*.d
CFLAGS := -Wall -Werror -ggdb -fno-omit-frame-pointer -O2 -D_FORTIFY_SOURCE=2 CFLAGS := -Wall -Werror -ggdb -fno-omit-frame-pointer -O2 -D_FORTIFY_SOURCE=2
CFLAGS += -DVERSION=\"$(VERSION)\" CFLAGS += -DVERSION=\"$(VERSION)\"
CFLAGS += -Wno-error=deprecated-declarations
PKG_CONFIG=pkg-config PKG_CONFIG=pkg-config