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

Unified Diff: BUILD.gn

Issue 2144233003: [gn] Restore strict-aliasing for gn on mac Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: [gn] Restore strict-aliasing for gn on mac Created 4 years, 5 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.gn
diff --git a/BUILD.gn b/BUILD.gn
index 3491401da90516e209c4a60dd2240a77ee3190af..a9226c97949a8b863922e0c72f9eb7b6406b275f 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -291,6 +291,10 @@ config("toolchain") {
}
}
+ if (is_mac) {
+ cflags += [ "-fstrict-aliasing" ]
+ }
+
# TODO(jochen): Support v8_enable_prof on Windows.
# TODO(jochen): Add support for compiling with simulators.
« 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