openmp: Simplify linking on X11, fixing clang build

This commit is contained in:
Rémi Verschelde 2017-12-14 21:49:54 +01:00
parent fb84b49d87
commit 60d41e9caf

View file

@ -267,8 +267,7 @@ def configure(env):
if env["openmp"]: if env["openmp"]:
env.Append(CPPFLAGS=['-fopenmp']) env.Append(CPPFLAGS=['-fopenmp'])
if not env['use_llvm']: env.Append(LINKFLAGS=['-fopenmp'])
env.Append(LIBS=['gomp'])
if env['use_static_cpp']: if env['use_static_cpp']:
env.Append(LINKFLAGS=['-static-libstdc++']) env.Append(LINKFLAGS=['-static-libstdc++'])