aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r--gn/BUILD.gn7
1 files changed, 1 insertions, 6 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index 06cff4e4a7..7be1617d23 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -258,16 +258,11 @@ config("default") {
}
config("no_exceptions") {
- # Exceptions are disabled by default on Windows. (Use :yes_exceptions to enable them.)
+ # Exceptions are disabled by default on Windows. (Use /EHsc to enable them.)
if (!is_win) {
cflags_cc = [ "-fno-exceptions" ]
}
}
-config("yes_exceptions") {
- if (is_win) {
- cflags_cc = [ "/EHsc" ]
- }
-}
config("warnings") {
cflags = []