diff options
| author | Elliott Sales de Andrade | 2017-09-25 00:37:17 -0400 |
|---|---|---|
| committer | Elliott Sales de Andrade | 2017-09-25 14:36:30 -0400 |
| commit | 3e69d19116e8d0d64fcbb096d925249e5d3596ed (patch) | |
| tree | db29307c60393a6b47bd71717ff336743abfb0b5 /platform/server/detect.py | |
| parent | 5be675eb0332ccf660a81df51701146997ef9fcb (diff) | |
| download | godot-3e69d19116e8d0d64fcbb096d925249e5d3596ed.tar.gz godot-3e69d19116e8d0d64fcbb096d925249e5d3596ed.tar.zst godot-3e69d19116e8d0d64fcbb096d925249e5d3596ed.zip | |
Diffstat (limited to 'platform/server/detect.py')
| -rw-r--r-- | platform/server/detect.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/server/detect.py b/platform/server/detect.py index 94cdd0da7..04b38f280 100644 --- a/platform/server/detect.py +++ b/platform/server/detect.py @@ -19,9 +19,9 @@ def can_build(): def get_opts(): - + from SCons.Variables import BoolVariable return [ - ('use_llvm', 'Use the LLVM compiler', 'no'), + BoolVariable('use_llvm', 'Use the LLVM compiler', False), ] @@ -52,7 +52,7 @@ def configure(env): ## Compiler configuration - if (env["use_llvm"] == "yes"): + if env['use_llvm']: if ('clang++' not in env['CXX']): env["CC"] = "clang" env["CXX"] = "clang++" |
