diff --git a/OSBindings/SDL/SConstruct b/OSBindings/SDL/SConstruct index 4a7d227f8..56d8e7904 100644 --- a/OSBindings/SDL/SConstruct +++ b/OSBindings/SDL/SConstruct @@ -143,6 +143,7 @@ env.Append(CCFLAGS = ['--std=c++17', '--std=c++1z', '-Wall', '-O2', '-DNDEBUG']) env.Append(LIBS = ['libz', 'pthread', 'GL']) if env['PLATFORM'] == 'darwin': + env.Append(CCFLAGS = ['-DGL_SILENCE_DEPRECATION']) env.Append(FRAMEWORKS = ['Accelerate']) # Build target.