diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-12-14 21:49:54 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-12-14 21:50:10 +0100 |
commit | 60d41e9caf6e52c5c3fcaafe6062aeddd8e0a011 (patch) | |
tree | 1e1d1db695180fd1a1690c22ec1a61650accc248 /platform/x11/detect.py | |
parent | fb84b49d87757226305cbaa96224e3fd84df5389 (diff) |
openmp: Simplify linking on X11, fixing clang build
Diffstat (limited to 'platform/x11/detect.py')
-rw-r--r-- | platform/x11/detect.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index ed75e5eab5..09bf57c5f1 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -267,8 +267,7 @@ def configure(env): if env["openmp"]: env.Append(CPPFLAGS=['-fopenmp']) - if not env['use_llvm']: - env.Append(LIBS=['gomp']) + env.Append(LINKFLAGS=['-fopenmp']) if env['use_static_cpp']: env.Append(LINKFLAGS=['-static-libstdc++']) |