aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-02 00:01:13 +0200
committerDavid Robillard <d@drobilla.net>2020-07-02 00:01:13 +0200
commit3b43e447d61e937ce5a56cf976c737d8aac270b2 (patch)
treee1172fde9c988af61de19171e5bb0b1c0dab2bc0
parent2d907d2c020d319b90256014078c6725810cf7c8 (diff)
downloadpugl-3b43e447d61e937ce5a56cf976c737d8aac270b2.tar.gz
pugl-3b43e447d61e937ce5a56cf976c737d8aac270b2.tar.bz2
pugl-3b43e447d61e937ce5a56cf976c737d8aac270b2.zip
Fix check for clang
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index ce10d58..f23bf78 100644
--- a/wscript
+++ b/wscript
@@ -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')]