diff options
author | David Robillard <d@drobilla.net> | 2020-07-02 00:01:13 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-02 00:01:13 +0200 |
commit | 3b43e447d61e937ce5a56cf976c737d8aac270b2 (patch) | |
tree | e1172fde9c988af61de19171e5bb0b1c0dab2bc0 | |
parent | 2d907d2c020d319b90256014078c6725810cf7c8 (diff) | |
download | pugl-3b43e447d61e937ce5a56cf976c737d8aac270b2.tar.gz pugl-3b43e447d61e937ce5a56cf976c737d8aac270b2.tar.bz2 pugl-3b43e447d61e937ce5a56cf976c737d8aac270b2.zip |
Fix check for clang
-rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -70,7 +70,7 @@ def configure(conf): append_cflags(['-DGL_SILENCE_DEPRECATION', '-Wno-deprecated-declarations']) - if Options.options.ultra_strict and 'clang' in conf.env.CC: + if Options.options.ultra_strict and 'clang' in conf.env.CC[0]: for var in ['CFLAGS', 'CXXFLAGS']: flags = conf.env[var] conf.env[var] = [f for f in flags if not f.startswith('-W')] |