mirror of
https://github.com/godotengine/godot.git
synced 2025-01-18 20:40:57 +08:00
openmp: Simplify linking on X11, fixing clang build
This commit is contained in:
parent
fb84b49d87
commit
60d41e9caf
@ -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++'])
|
||||
|
Loading…
Reference in New Issue
Block a user