Skip to content

Commit

Permalink
Merge pull request #14672 from akien-mga/openmp-linking
Browse files Browse the repository at this point in the history
openmp: Simplify linking on X11, fixing clang build
  • Loading branch information
akien-mga authored Dec 14, 2017
2 parents f25d9a5 + 60d41e9 commit e3fd61b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions platform/x11/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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++'])

0 comments on commit e3fd61b

Please sign in to comment.