summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/detect.py5
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++'])