diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2020-12-17 09:56:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-17 09:56:07 +0100 |
commit | ae0399382a60c538f8313ca0db56093b6d34fefb (patch) | |
tree | 633af8caa086f416ba1b1caf470ab441ae71cabf /platform/windows/detect.py | |
parent | 9e49dbda2a145165269f07bc4f621211c695de52 (diff) | |
parent | 0f84d8dc497e73a8ad21ae51bc4912082f2d2454 (diff) |
Merge pull request #44433 from akien-mga/scons-fix-platform-opts
SCons: Add only selected platform's opts to env
Diffstat (limited to 'platform/windows/detect.py')
-rw-r--r-- | platform/windows/detect.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py index 859051ede9..5216fca2ca 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -68,7 +68,7 @@ def get_opts(): EnumVariable("windows_subsystem", "Windows subsystem", "default", ("default", "console", "gui")), BoolVariable("separate_debug_symbols", "Create a separate file containing debugging symbols", False), ("msvc_version", "MSVC version to use. Ignored if VCINSTALLDIR is set in shell env.", None), - BoolVariable("use_mingw", "Use the Mingw compiler, even if MSVC is installed. Only used on Windows.", False), + BoolVariable("use_mingw", "Use the Mingw compiler, even if MSVC is installed.", False), BoolVariable("use_llvm", "Use the LLVM compiler", False), BoolVariable("use_thinlto", "Use ThinLTO", False), BoolVariable("use_static_cpp", "Link MinGW/MSVC C++ runtime libraries statically", True), @@ -76,12 +76,10 @@ def get_opts(): def get_flags(): - return [] def build_res_file(target, source, env): - if env["bits"] == "32": cmdbase = env["mingw_prefix_32"] else: |