[Libreoffice-commits] .: solenv/inc

Caolán McNamara caolan at kemper.freedesktop.org
Wed Oct 20 05:01:11 PDT 2010


 solenv/inc/unxlng.mk |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit c4b9aec5d298ac092bfac28ba232e31c018b0739
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Oct 19 20:27:33 2010 +0100

    #i101100# strict-alias clean

diff --git a/solenv/inc/unxlng.mk b/solenv/inc/unxlng.mk
index ce75b0a..3602c0b 100644
--- a/solenv/inc/unxlng.mk
+++ b/solenv/inc/unxlng.mk
@@ -111,7 +111,10 @@ CFLAGSDEBUG=-g
 CFLAGSDBGUTIL=
 # Compiler flags for enabling optimizations
 .IF "$(PRODUCT)"!=""
-CFLAGSOPT=$(CDEFAULTOPT) -fno-strict-aliasing		# optimizing for products
+CFLAGSOPT=$(CDEFAULTOPT) # optimizing for products
+.IF "$(USE_SYSTEM_STL)"!="YES"
+CFLAGSOPT+=-fno-strict-aliasing #STLPort headers are full of aliasing warnings
+.ENDIF
 .ELSE 	# "$(PRODUCT)"!=""
 CFLAGSOPT=   							# no optimizing for non products
 .ENDIF	# "$(PRODUCT)"!=""


More information about the Libreoffice-commits mailing list