Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2003 14:54:56 -0500
From:      mi+mx@aldan.algebra.com
To:        gnome@FreeBSD.org, openoffice@FreeBSD.org
Subject:   Mozilla's xptcall
Message-ID:  <200311201454.56022@misha-mx.virtual-estates.net>

next in thread | raw e-mail | index | archive | help

--Boundary-00=_QwRv/BoloZgWywx
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello!

In order to build mozilla (and hence, OpenOffice) I needed the attached
patch. It seems, that the xptcall files are very fragile to the compiler
optimization, so the patch is needed to replace whatever the configured
through the make.conf with the vanilla ``-O''. Curiously, the file being
patched already contains similar hacks for other platforms. Yours,

	-mi

P.S. The patch is for mozilla-vendor, but is probably also needed for
the later versions -- they did not change much in that area.


--Boundary-00=_QwRv/BoloZgWywx
Content-Type: text/x-diff;
  charset="us-ascii";
  name="patch-xpcom::reflect::xptcall::src::md::unix::Makefile.in"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="patch-xpcom::reflect::xptcall::src::md::unix::Makefile.in"

--- xpcom/reflect/xptcall/src/md/unix/Makefile.in	Wed Sep 11 16:47:43 2002
+++ xpcom/reflect/xptcall/src/md/unix/Makefile.in	Wed Nov 19 15:28:37 2003
@@ -48,4 +48,5 @@
 ifneq (,$(filter Linux FreeBSD NetBSD OpenBSD BSD_OS,$(OS_ARCH)))
 ifeq (86,$(findstring 86,$(OS_TEST)))
+CXXFLAGS	:=  $(filter-out $(HOST_CXXFLAGS), $(OS_CXXFLAGS)) -O
 CPPSRCS		:= xptcinvoke_unixish_x86.cpp xptcstubs_unixish_x86.cpp
 endif

--Boundary-00=_QwRv/BoloZgWywx--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311201454.56022>