Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 3b318d22a9daf18e45ab79425391e20d0057ed66..03fbb569f2511549de866710b22140a940ac7048 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -3989,7 +3989,6 @@ |
['_toolset=="target"', { |
'cflags': [ |
'-fsanitize=address', |
- '-Wno-error=macro-redefined', # http://crbug.com/162783 |
], |
'ldflags': [ |
'-fsanitize=address', |
@@ -4012,7 +4011,6 @@ |
'-fsanitize=undefined', |
# -fsanitize=vptr is incompatible with -fno-rtti. |
'-fno-sanitize=vptr', |
- '-Wno-error=macro-redefined', # http://crbug.com/162783 |
], |
'ldflags': [ |
'-fsanitize=undefined', |
@@ -4036,7 +4034,6 @@ |
'-fsanitize=vptr', |
'-fsanitize=null', # Avoid dereferences on null pointer objects. |
'-fsanitize-blacklist=<(ubsan_vptr_blacklist)', |
- '-Wno-error=macro-redefined', # http://crbug.com/162783 |
], |
'cflags_cc!': [ |
'-fno-rtti', |
@@ -4632,8 +4629,6 @@ |
# binaries on x86_64 host is problematic. |
# TODO(eugenis): re-enable. |
'-fsanitize=address', |
- '-Wno-error=macro-redefined', # http://crbug.com/162783 |
- |
], |
'ldflags!': [ |
'-fsanitize=address', |
@@ -4803,7 +4798,6 @@ |
'OTHER_CFLAGS': [ |
'-fsanitize=address', |
'-mllvm -asan-globals=0', # http://crbug.com/352073 |
- '-Wno-error=macro-redefined', # http://crbug.com/162783 |
'-Wno-error=unused-function', # http://crbug.com/162783 |
'-gline-tables-only', |
], |