Bug 795594 - Add workaround for MSVC x64 compiler bug. r=roc
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Wed, 10 Oct 2012 15:17:30 +0900
changeset 109826 6c7c155557df
parent 109825 7e871133c607
child 109827 c144e89952c1
push id16227
push userm_kato@ga2.so-net.ne.jp
push date2012-10-10 06:19 +0000
treeherdermozilla-inbound@6c7c155557df [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs795594
milestone19.0a1
Bug 795594 - Add workaround for MSVC x64 compiler bug. r=roc
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