diff options
Diffstat (limited to 'gfx/angle/moz.build.common')
-rw-r--r-- | gfx/angle/moz.build.common | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gfx/angle/moz.build.common b/gfx/angle/moz.build.common new file mode 100644 index 0000000000..fa906ac78a --- /dev/null +++ b/gfx/angle/moz.build.common @@ -0,0 +1,13 @@ +AllowCompilerWarnings() +if CONFIG['CC_TYPE'] in ('clang', 'clang-cl'): + CXXFLAGS += [ + '-Wno-final-dtor-non-final-class', + '-Wno-implicit-const-int-float-conversion', + '-Wno-range-loop-construct', + ] + +if CONFIG['INTEL_ARCHITECTURE']: + CXXFLAGS += CONFIG['SSE2_FLAGS'] +DEFINES['__NDK_FPABI__'] = '' +DEFINES['ANGLE_SKIP_DXGI_1_2_CHECK'] = True +DEFINES['ANGLE_ENABLE_KEYEDMUTEX'] = True |