diff options
author | David Robillard <d@drobilla.net> | 2017-02-12 21:16:12 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-02-12 21:16:12 +0100 |
commit | 0faf69db76f668944d9380152fd4f9080d9e6152 (patch) | |
tree | 3f7e7c9d8edb1611b87cb5decfca627819e75b65 /wscript | |
parent | 369118b48747b8b3b8eaf14b2e7f51549720d5ab (diff) | |
download | ingen-0faf69db76f668944d9380152fd4f9080d9e6152.tar.gz ingen-0faf69db76f668944d9380152fd4f9080d9e6152.tar.bz2 ingen-0faf69db76f668944d9380152fd4f9080d9e6152.zip |
Fix warnings
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -153,7 +153,8 @@ def configure(conf): if conf.check(cflags=['-pthread'], mandatory=False): conf.env.PTHREAD_CFLAGS = ['-pthread'] - conf.env.PTHREAD_LINKFLAGS = ['-pthread'] + if conf.env.CXX_NAME != 'clang': + conf.env.PTHREAD_LINKFLAGS = ['-pthread'] elif conf.check(linkflags=['-lpthread'], mandatory=False): conf.env.PTHREAD_CFLAGS = [] conf.env.PTHREAD_LINKFLAGS = ['-lpthread'] |