Bug 795594 - Add workaround for MSVC x64 compiler bug. r=roc a=bbajaj
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Wed, 10 Oct 2012 15:17:30 +0900
changeset 113393 04d585d5045a
parent 113392 b7c1e5b794ce
child 113394 03b50c47e744
push id2328
push userm_kato@ga2.so-net.ne.jp
push date2012-10-16 06:33 +0000
treeherdermozilla-aurora@04d585d5045a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc, bbajaj
bugs795594
milestone18.0a2
Bug 795594 - Add workaround for MSVC x64 compiler bug. r=roc a=bbajaj
gfx/layers/Makefile.in
--- a/gfx/layers/Makefile.in
+++ b/gfx/layers/Makefile.in
@@ -190,8 +190,16 @@ include $(topsrcdir)/ipc/chromium/chromi
 
 LOCAL_INCLUDES += \
         -I$(topsrcdir)/content/events/src \
         -I$(ANDROID_SOURCE)/frameworks/base/include/media/stagefright \
         -I$(ANDROID_SOURCE)/frameworks/base/include/media/stagefright/openmax \
         $(NULL)
 
 CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS) $(TK_CFLAGS)
+
+ifdef _MSC_VER
+ifeq ($(CPU_ARCH),x86_64)
+# Workaround compiler bug (Bug 795594)
+LayerTreeInvalidation.$(OBJ_SUFFIX): CXXFLAGS += -GL-
+Layers.$(OBJ_SUFFIX): CXXFLAGS += -GL-
+endif
+endif