Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 72eb96d94c07528ee98e90e0bdf56958f8bef7b5..bfc62e514006fd9c55b6668bbed8ef8474bb597e 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -2972,6 +2972,7 @@ |
['os_posix==1', { |
'target_defaults': { |
'ldflags': [ |
+ '-Wl,--fatal-warnings', |
Nico
2014/03/16 16:56:14
Should this only be done if werror% isn't empty?
|
'-Wl,-z,now', |
'-Wl,-z,relro', |
], |
@@ -3049,7 +3050,6 @@ |
'conditions' : [ |
['OS=="android"', { |
'ldflags': [ |
- '-Wl,--fatal-warnings', |
# Only link with needed input sections. This is to avoid |
# getting undefined reference to __cxa_bad_typeid in the CDU |
# library. |
@@ -3131,7 +3131,6 @@ |
'-fomit-frame-pointer', |
], |
'ldflags': [ |
- '-Wl,--fatal-warnings', |
# Warn in case of text relocations. |
'-Wl,--warn-shared-textrel', |
], |