[tbb-commits] [tor-browser/tor-browser-52.0.2esr-7.0-2] Fix SSE2 compilation for mingw-w64

gk at torproject.org gk at torproject.org
Wed Apr 5 20:00:21 UTC 2017


commit 01f545c45a48f7805637b6eb0db26589dc079a96
Author: Georg Koppen <gk at torproject.org>
Date:   Thu Mar 30 09:22:37 2017 +0000

    Fix SSE2 compilation for mingw-w64
    
    This is tjr's workaround for bug 1331335.
---
 gfx/angle/src/libANGLE/moz.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gfx/angle/src/libANGLE/moz.build b/gfx/angle/src/libANGLE/moz.build
index 605f30d..d05c77c 100755
--- a/gfx/angle/src/libANGLE/moz.build
+++ b/gfx/angle/src/libANGLE/moz.build
@@ -112,7 +112,6 @@ UNIFIED_SOURCES += [
     '../compiler/translator/VersionGLSL.cpp',
     '../image_util/copyimage.cpp',
     '../image_util/imageformats.cpp',
-    '../image_util/loadimage.cpp',
     '../image_util/loadimage_etc.cpp',
     '../third_party/compiler/ArrayBoundsClamper.cpp',
     '../third_party/murmurhash/MurmurHash3.cpp',
@@ -290,10 +289,12 @@ SOURCES += [
     '../compiler/translator/glslang_tab.cpp',
     '../compiler/translator/RewriteTexelFetchOffset.cpp',
     '../compiler/translator/ShaderLang.cpp',
+    '../image_util/loadimage.cpp',
     'Display.cpp',
     'renderer/d3d/DisplayD3D.cpp',
     'renderer/d3d/HLSLCompiler.cpp',
 ]
+SOURCES['../image_util/loadimage.cpp'].flags += CONFIG['SSE2_FLAGS']
 if CONFIG['MOZ_HAS_WINSDK_WITH_D3D']:
     UNIFIED_SOURCES += [
         'renderer/d3d/d3d11/Blit11.cpp',





More information about the tbb-commits mailing list