[Libreoffice-commits] .: solenv/inc

Robert Nagy rnagy at kemper.freedesktop.org
Mon Nov 8 10:40:15 PST 2010


 solenv/inc/unxobsd.mk |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

New commits:
commit dabf0c704d31506a1d9a5fb1ff1f5f0aea9b9b1c
Author: Robert Nagy <robert at openbsd.org>
Date:   Mon Nov 8 19:39:55 2010 +0100

    set a DLLPOSTFIX for OpenBSD and sync unxobsd.mk

diff --git a/solenv/inc/unxobsd.mk b/solenv/inc/unxobsd.mk
index 974dd45..548be65 100644
--- a/solenv/inc/unxobsd.mk
+++ b/solenv/inc/unxobsd.mk
@@ -122,8 +122,12 @@ CFLAGSDBGUTIL=
 # Compiler flags for enabling optimizations
 .IF "$(PRODUCT)"!=""
 CFLAGSOPT=$(CDEFAULTOPT) # optimizing for products
-.IF "$(USE_SYSTEM_STL)"!="YES"
-CFLAGSOPT+=-fno-strict-aliasing #STLPort headers are full of aliasing warnings
+.IF "$(USE_SYSTEM_STL)"!="YES" || "$(CCNUMVER)" <= "000400050000"
+#STLPort headers are full of aliasing warnings and
+#At least SLED 10.2 gcc 4.3 overly agressively optimizes
+#uno::Sequence into junk, so only strict-alias on compiler
+#later than 4.5.1
+CFLAGSOPT+=-fno-strict-aliasing
 .ENDIF
 .ELSE 	# "$(PRODUCT)"!=""
 CFLAGSOPT=   							# no optimizing for non products
@@ -263,5 +267,5 @@ RCSETVERSION=
 # platform specific identifier for shared libs
 DLLPRE=lib
 DLLPOST=.so
-DLLPOSTFIX=
+DLLPOSTFIX=ob
 PCHPOST=.gch


More information about the Libreoffice-commits mailing list