diff options
author | David Robillard <d@drobilla.net> | 2020-04-19 19:33:49 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-04-19 19:33:49 +0200 |
commit | 256e75d9151ff88243f7e91cca091549dd4a6315 (patch) | |
tree | 9da7ec82beb6f93df4e7fb42a47086099a60a16b /wscript | |
parent | d26436acac4d3faae3e1959d80d65bfef3585e20 (diff) | |
download | pugl-256e75d9151ff88243f7e91cca091549dd4a6315.tar.gz pugl-256e75d9151ff88243f7e91cca091549dd4a6315.tar.bz2 pugl-256e75d9151ff88243f7e91cca091549dd4a6315.zip |
Clean up Mac flags
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -60,9 +60,6 @@ def configure(conf): conf.env.append_value('CFLAGS', flags) conf.env.append_value('CXXFLAGS', flags) - if platform == 'darwin': - append_cflags(['-Wno-deprecated-declarations']) - if conf.env.MSVC_COMPILER: append_cflags(['/wd4191', '/wd4355']) else: @@ -72,8 +69,8 @@ def configure(conf): append_cflags(['-Wunused-parameter', '-Wno-pedantic']) if conf.env.TARGET_PLATFORM == 'darwin': - conf.env.append_unique('CFLAGS', ['-DGL_SILENCE_DEPRECATION']) - conf.env.append_unique('CXXFLAGS', ['-DGL_SILENCE_DEPRECATION']) + append_cflags(['-DGL_SILENCE_DEPRECATION', + '-Wno-deprecated-declarations']) if Options.options.ultra_strict and 'clang' in conf.env.CC: for var in ['CFLAGS', 'CXXFLAGS']: |