From c940d7dc8ccdc572ab2cd90ab6e69a8697a1df00 Mon Sep 17 00:00:00 2001 From: Rodger Combs Date: Fri, 5 Apr 2019 03:12:41 -0500 Subject: build: silence OpenGL deprecation warnings on macOS for C/objC We know of the deprecation since 10.14, and thus we do not need to be reminded of it with each compiled file. --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index 312da2ef30..3569dbf060 100644 --- a/wscript +++ b/wscript @@ -608,7 +608,8 @@ video_output_features = [ 'groups': [ 'gl' ], 'func': check_statement('IOSurface/IOSurface.h', 'IOSurfaceRef surface;', - framework='IOSurface') + framework='IOSurface', + cflags=['-DGL_SILENCE_DEPRECATION']) } , { 'name': '--gl-x11', 'desc': 'OpenGL X11 Backend', -- cgit v1.2.3