summaryrefslogtreecommitdiff
path: root/platform/x11/detect.py
diff options
context:
space:
mode:
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++'])