external/swiftshader
Revision | e8d42ae19d9c8433a728fb1b1382a3ff0258926c (tree) |
---|---|
Time | 2017-08-15 04:24:44 |
Author | Robert Liao <robliao@chro...> |
Commiter | 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/11594
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Robert Liao <robliao@chromium.org>
@@ -33,9 +33,7 @@ config("swiftshader_config") { | ||
33 | 33 | "NO_SANITIZE_FUNCTION=", |
34 | 34 | ] |
35 | 35 | |
36 | - if (is_debug) { | |
37 | - cflags += [ "/RTC1" ] # Run-Time Error Checks | |
38 | - } else { | |
36 | + if (!is_debug) { | |
39 | 37 | defines += [ "ANGLE_DISABLE_TRACE" ] |
40 | 38 | } |
41 | 39 | } else { |