소스 검색

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

openmp: Simplify linking on X11, fixing clang build
Rémi Verschelde 7 년 전
부모
커밋
e3fd61b638
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      platform/x11/detect.py

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