Bug 1443088 - Don't use SSE2 flag on non-Intel platform. r?jgilbert
gcc for arm/aarch64 target doesn't allow -msse2 command line option and it
causes option error, not warning. So it should not add this option for
non-Intel platform.
MozReview-Commit-ID: 9E6SGBMkT94
--- a/gfx/angle/moz.build.common
+++ b/gfx/angle/moz.build.common
@@ -1,6 +1,7 @@
AllowCompilerWarnings()
-CXXFLAGS += CONFIG['SSE2_FLAGS']
+if CONFIG['INTEL_ARCHITECTURE']:
+ CXXFLAGS += CONFIG['SSE2_FLAGS']
DEFINES['__NDK_FPABI__'] = ''
DEFINES['constexpr14'] = ''
DEFINES['ANGLE_SKIP_DXGI_1_2_CHECK'] = True