From 66e1a8baf2ca7765b428abecf60b2286727bb059 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Wed, 9 Feb 2022 11:48:11 -0600 Subject: [PATCH] osx: Disable GCD deprecation warning --- lib/ipc/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ipc/Makefile.am b/lib/ipc/Makefile.am index 9338b141e..691517561 100644 --- a/lib/ipc/Makefile.am +++ b/lib/ipc/Makefile.am @@ -38,6 +38,10 @@ EXTRA_DIST = heim_ipc.defs heim_ipc_async.defs heim_ipc_reply.defs if have_gcd +# We still use dispatch_get_current_queue(), which is deprecated, and that +# stops building on recent OS X releases unless we disable this warning. +WFLAGS += -Wno-deprecated-declarations + heim_ipc.h heim_ipcUser.c heim_ipcServer.c heim_ipcServer.h: heim_ipc.defs mig -header heim_ipc.h -user heim_ipcUser.c -sheader heim_ipcServer.h -server heim_ipcServer.c -I$(srcdir) $(srcdir)/heim_ipc.defs