Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1710)

Unified Diff: build/common.gypi

Issue 164538: Linux: add GYP flag for -fno-strict-aliasing. (Closed)
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 99025df490bb71d0d84357943e078aeec1476252..fed9d962223dcd7b156f2a27d469b70a7f3c5583 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -354,6 +354,7 @@
# be disabled in ~/.gyp/include.gypi on the valgrind builders.
'variables': {
'werror%': '-Werror',
+ 'no_strict_aliasing%': 0,
},
'cflags': [
'<(werror)', # See note above about the werror variable.
@@ -539,6 +540,11 @@
}],
],
}],
+ ['no_strict_aliasing==1', {
+ 'cflags': [
+ '-fno-strict-aliasing',
+ ],
+ }],
],
},
}],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698