osx: Disable GCD deprecation warning

This commit is contained in:
Nicolas Williams
2022-02-09 11:48:11 -06:00
parent 1da235c9c3
commit 66e1a8baf2

View File

@@ -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