diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-12-14 17:59:18 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-12-14 18:27:56 +0100 |
commit | ab9cda1497e7bed41b474a0ab8a2a4b0547dd916 (patch) | |
tree | 8e3515be7ebefa45e2ea314a882be61c3bc573d8 /platform/x11/detect.py | |
parent | b872439eefb7d54a572ace3a57fea01787c46952 (diff) | |
download | redot-engine-ab9cda1497e7bed41b474a0ab8a2a4b0547dd916.tar.gz |
openmp: Don't try to link GCC's implementation on Clang
Also disable openmp build on Travis, breaks on Trusty's Clang.
Group deps more naturally.
Diffstat (limited to 'platform/x11/detect.py')
-rw-r--r-- | platform/x11/detect.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index 0f07e22e6b..ed75e5eab5 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -265,9 +265,10 @@ def configure(env): env.Append(LINKFLAGS=['-m64', '-L/usr/lib/i686-linux-gnu']) - if (env["openmp"]): + if env["openmp"]: env.Append(CPPFLAGS=['-fopenmp']) - env.Append(LIBS=['gomp']) + if not env['use_llvm']: + env.Append(LIBS=['gomp']) if env['use_static_cpp']: env.Append(LINKFLAGS=['-static-libstdc++']) |