summaryrefslogtreecommitdiff
path: root/platform/x11/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-12-14 21:49:54 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-12-14 21:50:10 +0100
commit60d41e9caf6e52c5c3fcaafe6062aeddd8e0a011 (patch)
tree1e1d1db695180fd1a1690c22ec1a61650accc248 /platform/x11/detect.py
parentfb84b49d87757226305cbaa96224e3fd84df5389 (diff)
openmp: Simplify linking on X11, fixing clang build
Diffstat (limited to 'platform/x11/detect.py')
-rw-r--r--platform/x11/detect.py3
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++'])