Merge pull request #14672 from akien-mga/openmp-linking

openmp: Simplify linking on X11, fixing clang build
This commit is contained in:
Rémi Verschelde 2017-12-14 23:04:36 +01:00 committed by GitHub
commit e3fd61b638
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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++'])