summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-03-05 08:12:00 +0100
committerGitHub <noreply@github.com>2020-03-05 08:12:00 +0100
commitcac3e2faadd3d59a502bc905780a862e1d3895aa (patch)
tree12cd29184ce478f2ff5d0eb85bfc159e4ffe06a0
parent0c53f1f7db70d398e5d1127d35a7f0308ef92bb9 (diff)
parente888dbbb8ded3ab5ea547a987bf0be0f02ba6f6c (diff)
Merge pull request #36788 from nekomatata/windows-permissive-flag
Remove '/permissive-' flag from Windows MSVC build
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index f2c20ea91e..436dd48800 100644
--- a/SConstruct
+++ b/SConstruct
@@ -330,7 +330,7 @@ if selected_platform in platform_list:
else:
# MSVC doesn't have clear C standard support, /std only covers C++.
# We apply it to CCFLAGS (both C and C++ code) in case it impacts C features.
- env.Prepend(CCFLAGS=['/std:c++17', '/permissive-'])
+ env.Prepend(CCFLAGS=['/std:c++17'])
# Enforce our minimal compiler version requirements
cc_version = methods.get_compiler_version(env) or [-1, -1]