diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-12-22 12:24:40 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-12-22 12:24:40 +0100 |
commit | bf4d398d4e474dc4aba0e33094d45fb53406d593 (patch) | |
tree | 84afa778ecd4f10fca6968d3a37d2659126ee78d /platform/x11/detect.py | |
parent | 074b9d2b3e947a25b7b52b9e32579bba96381da6 (diff) |
Do not require OpenMP for non-tools builds (export templates)
Diffstat (limited to 'platform/x11/detect.py')
-rw-r--r-- | platform/x11/detect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index 09bf57c5f1..98ae9a8658 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -265,7 +265,7 @@ def configure(env): env.Append(LINKFLAGS=['-m64', '-L/usr/lib/i686-linux-gnu']) - if env["openmp"]: + if env['tools'] and env['openmp']: env.Append(CPPFLAGS=['-fopenmp']) env.Append(LINKFLAGS=['-fopenmp']) |