Commit e8d42ae1 by Robert Liao

Remove /RTC1 for Windows Debug Builds

SwiftShader requests the optimized flags for debug buidls for performance. This leads to an incompatible use of /O1 and /RTC1. BUG=chromium:755195 Change-Id: I53b6f99a67d0b8d5fc5932b677ee278aca300702 Reviewed-on: https://swiftshader-review.googlesource.com/11594Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarRobert Liao <robliao@chromium.org>
parent 2e7a08a8
...@@ -33,9 +33,7 @@ config("swiftshader_config") { ...@@ -33,9 +33,7 @@ config("swiftshader_config") {
"NO_SANITIZE_FUNCTION=", "NO_SANITIZE_FUNCTION=",
] ]
if (is_debug) { if (!is_debug) {
cflags += [ "/RTC1" ] # Run-Time Error Checks
} else {
defines += [ "ANGLE_DISABLE_TRACE" ] defines += [ "ANGLE_DISABLE_TRACE" ]
} }
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment