diff options
Diffstat (limited to 'platform')
-rw-r--r-- | platform/windows/detect.py | 10 | ||||
-rw-r--r-- | platform/x11/detect.py | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py index 3f66207457..bc8be7f034 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -188,8 +188,8 @@ def configure(env): else: VC_PATH = "" - if (env["openmp"]): - env.Append(CPPFLAGS=['/openmp']) + if (env["openmp"]): + env.Append(CPPFLAGS=['/openmp']) env.Append(CCFLAGS=["/I" + p for p in os.getenv("INCLUDE").split(";")]) env.Append(LIBPATH=[p for p in os.getenv("LIB").split(";")]) @@ -267,9 +267,9 @@ def configure(env): env.Append(CCFLAGS=['-flto']) env.Append(LINKFLAGS=['-flto=' + str(env.GetOption("num_jobs"))]) - if (env["openmp"]): - env.Append(CPPFLAGS=['-fopenmp']) - env.Append(LIBS=['gomp']) + if (env["openmp"]): + env.Append(CPPFLAGS=['-fopenmp']) + env.Append(LIBS=['gomp']) ## Compile flags diff --git a/platform/x11/detect.py b/platform/x11/detect.py index fb3b7588d2..0f07e22e6b 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -266,8 +266,8 @@ def configure(env): if (env["openmp"]): - env.Append(CPPFLAGS=['-fopenmp']) - env.Append(LIBS=['gomp']) + env.Append(CPPFLAGS=['-fopenmp']) + env.Append(LIBS=['gomp']) if env['use_static_cpp']: env.Append(LINKFLAGS=['-static-libstdc++']) |