iceowl (1.0~b1+dfsg2-2+squeeze2) Build-xptcstubs-with-less-optimizations-on-hppa.patch

Summary

 mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in |    1 +
 1 file changed, 1 insertion(+)

    
download this patch

Patch contents

From: Mike Hommey <glandium@debian.org>
Date: Sat, 17 May 2008 19:30:10 +0200
Subject: Build xptcstubs with less optimizations on hppa

This avoids g++ outsmarting the assembly code.

https://bugzilla.mozilla.org/show_bug.cgi?id=434190
---
 .../xpcom/reflect/xptcall/src/md/unix/Makefile.in  |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in b/mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in
index 96ba820..2a5dd8c 100644
--- a/mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in
+++ b/mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in
@@ -228,6 +228,7 @@ $(error Unknown C++ compiler, xptcall assembly will probably be incorrect.)
 else
 CPPSRCS		:= xptcinvoke_pa32.cpp xptcstubs_pa32.cpp
 ASFILES		:= xptcstubs_asm_parisc_linux.s xptcinvoke_asm_parisc_linux.s
+MOZ_OPTIMIZE_FLAGS	:= -O0
 endif
 endif
 endif
--