[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#198694: openoffice.org: Please compile with -O2 on i386



Package: openoffice.org
Version: 1.0.3-2
Severity: wishlist
Tags: patch

After looking at solenv/inc/unxlngi4.mk and solenv/inc/unxlngppc4.mk
it seems you compile OO on powerpc with -O2 but on i386 only with
-O1?

I tried to compile the 1.0.3-2 with gcc 3.2.3 and the patch below.
It compiled fine and OO starts at about twice as fast as before.
There might be some optimizer bugs hidden somewhere but my first
impression is pretty positive.

Could you apply this patch?

TIA
Adrian


--- oo_1.0.3_src/solenv/inc/unxlngi4.mk.old	Tue Jun 10 15:59:14 2003
+++ oo_1.0.3_src/solenv/inc/unxlngi4.mk	Tue Jun 10 15:59:29 2003
@@ -135,9 +135,7 @@
 CFLAGSDEBUG=-g
 CFLAGSDBGUTIL=
 # Compiler flags for enabling optimazations
-# CFLAGSOPT=-O2
-# reduce to -O1 to avoid optimisation problems
-CFLAGSOPT=-O1
+CFLAGSOPT=-O2
 # Compiler flags for disabling optimazations
 CFLAGSNOOPT=-O
 # Compiler flags for discibing the output path




Reply to: