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

Unified Diff: build/common.gypi

Issue 20666002: build/common.gypi: revert the change to GCC_STRICT_ALIASING:NO because some bots have a too-old xco… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: even more commentary Created 7 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/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 62aa480bd3469ca861770dc7b5ad84acceeada2a..047e444787fb5984b9ed03dd2ef47876e48b7a5a 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -3981,9 +3981,16 @@
'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)',
# Keep pch files below xcodebuild/.
'SHARED_PRECOMPS_DIR': '$(CONFIGURATION_BUILD_DIR)/SharedPrecompiledHeaders',
-
- # -fno-strict-aliasing, see http://crbug.com/32204
- 'GCC_STRICT_ALIASING': 'NO',
+ 'OTHER_CFLAGS': [
+ # Someday this can be replaced by an 'GCC_STRICT_ALIASING': 'NO'
+ # xcode_setting, but not until all downstream projects' mac bots are
+ # using xcode >= 4.6, because that's when the default value of the
+ # flag in the compiler switched. Pre-4.6, the value 'NO' for that
+ # setting is a no-op as far as xcode is concerned, but the compiler
+ # behaves differently based on whether -fno-strict-aliasing is
+ # specified or not.
+ '-fno-strict-aliasing', # See http://crbug.com/32204.
+ ],
},
'target_conditions': [
['_type=="executable"', {
« 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