build: darwin: disable -fstrict-aliasing warnings

gcc 4.2.1 as shipped with Xcode complains incessantly about aliasing
warnings, which, while technically true, disregards the fact that the
aliased types have the same layout in memory. Squelch the warnings.
This commit is contained in:
Ben Noordhuis 2013-06-26 13:06:26 +02:00
parent c8c775bd97
commit a0bc4cca74

View File

@ -36,6 +36,7 @@
},
'xcode_settings': {
'GCC_OPTIMIZATION_LEVEL': '0',
'OTHER_CFLAGS': [ '-Wno-strict-aliasing' ],
},
'conditions': [
['OS != "win"', {