From: helge Date: Wed, 20 Sep 2006 11:38:40 +0000 (+0000) Subject: enabled -O2 optimization X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e67acb17cea765046d2ffecf927ed9fe12657537;p=sope enabled -O2 optimization git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1364 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/sope-appserver/NGObjWeb/ChangeLog b/sope-appserver/NGObjWeb/ChangeLog index 8f989596..4ac3fe36 100644 --- a/sope-appserver/NGObjWeb/ChangeLog +++ b/sope-appserver/NGObjWeb/ChangeLog @@ -1,3 +1,8 @@ +2006-09-20 Helge Hess + + * DynamicElements: filter out -O% flags for files using exception + handlers, enable -O2 per default (v4.5.252) + 2006-09-18 Marcus Mueller * wobundle-gs.make: basically reverted to r103, but with the diff --git a/sope-appserver/NGObjWeb/DynamicElements/GNUmakefile.preamble b/sope-appserver/NGObjWeb/DynamicElements/GNUmakefile.preamble index 1721fee9..7cbf5607 100644 --- a/sope-appserver/NGObjWeb/DynamicElements/GNUmakefile.preamble +++ b/sope-appserver/NGObjWeb/DynamicElements/GNUmakefile.preamble @@ -4,7 +4,14 @@ ADDITIONAL_CPPFLAGS += -pipe # -DHTML_DEBUG=1 # -DPROFILE_CLUSTERS=1 -ADDITIONAL_CPPFLAGS += -pipe -Wall -funsigned-char + +# disable optimization for exception handlers +SaxDefaultHandler.m_FILE_FILTER_OUT_FLAGS = -O% +WOCompoundElement.m_FILE_FILTER_OUT_FLAGS = -O% +WOImage.m_FILE_FILTER_OUT_FLAGS = -O% + + +ADDITIONAL_CPPFLAGS += -pipe -Wall -funsigned-char -O2 ADDITIONAL_CPPFLAGS += -DCOMPILING_NGOBJWEB=1 DynamicElements_INCLUDE_DIRS += \ diff --git a/sope-appserver/NGObjWeb/Version b/sope-appserver/NGObjWeb/Version index 6c4d70cb..ca510b5e 100644 --- a/sope-appserver/NGObjWeb/Version +++ b/sope-appserver/NGObjWeb/Version @@ -1,6 +1,6 @@ # version file -SUBMINOR_VERSION:=251 +SUBMINOR_VERSION:=252 # v4.5.234 requires libDOM v4.5.21 # v4.5.214 requires libNGExtensions v4.5.179 diff --git a/sope-xml/DOM/ChangeLog b/sope-xml/DOM/ChangeLog index 70511cbb..1f3a886f 100644 --- a/sope-xml/DOM/ChangeLog +++ b/sope-xml/DOM/ChangeLog @@ -1,3 +1,8 @@ +2006-09-20 Helge Hess + + * GNUmakefile.preamble: filter out -O% flags for files using exception + handlers, enable -O2 per default (v4.5.23) + 2006-07-03 Helge Hess * fixed gcc 4.1 warnings, use %p for pointer formats (v4.5.22) diff --git a/sope-xml/DOM/GNUmakefile.preamble b/sope-xml/DOM/GNUmakefile.preamble index 72ef7c2b..48ebbf9f 100644 --- a/sope-xml/DOM/GNUmakefile.preamble +++ b/sope-xml/DOM/GNUmakefile.preamble @@ -13,8 +13,23 @@ DOM_HEADER_FILES = $(libDOM_HEADER_FILES) DOM_OBJC_FILES = $(libDOM_OBJC_FILES) +# disable optimization for exception handlers +DOMPYXOutputter.m_FILE_FILTER_OUT_FLAGS = -O% +DOMXMLOutputter.m_FILE_FILTER_OUT_FLAGS = -O% +DOMQueryPathExpression.m_FILE_FILTER_OUT_FLAGS = -O% +DOMSaxHandler.m_FILE_FILTER_OUT_FLAGS = -O% +NSObject+QPEval.m_FILE_FILTER_OUT_FLAGS = -O% + +ADDITIONAL_CPPFLAGS += \ + -O2 \ + -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 \ + -DSOPE_MAJOR_VERSION=$(MAJOR_VERSION) \ + -DSOPE_MINOR_VERSION=$(MINOR_VERSION) \ + -DSOPE_SUBMINOR_VERSION=$(SUBMINOR_VERSION) + ADDITIONAL_INCLUDE_DIRS += -I.. -I../.. + libDOM_LIBRARIES_DEPEND_UPON += -lSaxObjC ifneq ($(GNUSTEP_BUILD_DIR),) diff --git a/sope-xml/DOM/Version b/sope-xml/DOM/Version index 6cc7ab75..7ec278ff 100644 --- a/sope-xml/DOM/Version +++ b/sope-xml/DOM/Version @@ -1,3 +1,3 @@ # version file -SUBMINOR_VERSION:=22 +SUBMINOR_VERSION:=23 diff --git a/sope-xml/SaxObjC/ChangeLog b/sope-xml/SaxObjC/ChangeLog index 862429f9..3077b077 100644 --- a/sope-xml/SaxObjC/ChangeLog +++ b/sope-xml/SaxObjC/ChangeLog @@ -1,3 +1,8 @@ +2006-09-20 Helge Hess + + * GNUmakefile.preamble: filter out -O% flags for files using exception + handlers, enable -O2 per default (v4.5.61) + 2006-07-05 Helge Hess * SaxObjectModel.m: added FHS_INSTALL_ROOT to lookup path (v4.5.60) diff --git a/sope-xml/SaxObjC/GNUmakefile.preamble b/sope-xml/SaxObjC/GNUmakefile.preamble index b470b7e7..7472467f 100644 --- a/sope-xml/SaxObjC/GNUmakefile.preamble +++ b/sope-xml/SaxObjC/GNUmakefile.preamble @@ -13,8 +13,13 @@ libSaxObjC_HEADER_FILES_INSTALL_DIR = /SaxObjC SaxObjC_HEADER_FILES = $(libSaxObjC_HEADER_FILES) SaxObjC_OBJC_FILES = $(libSaxObjC_OBJC_FILES) +# disable optimization for exception handlers +SaxDefaultHandler.m_FILE_FILTER_OUT_FLAGS = -O% +SaxHandlerBase.m_FILE_FILTER_OUT_FLAGS = -O% +SaxObjectDecoder.m_FILE_FILTER_OUT_FLAGS = -O% ADDITIONAL_CPPFLAGS += \ + -O2 \ -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 \ -DSOPE_MAJOR_VERSION=$(MAJOR_VERSION) \ -DSOPE_MINOR_VERSION=$(MINOR_VERSION) \ diff --git a/sope-xml/SaxObjC/Version b/sope-xml/SaxObjC/Version index 7fbe8ee1..9846aa8d 100644 --- a/sope-xml/SaxObjC/Version +++ b/sope-xml/SaxObjC/Version @@ -1,3 +1,3 @@ # version file -SUBMINOR_VERSION:=60 +SUBMINOR_VERSION:=61 diff --git a/sope-xml/XmlRpc/ChangeLog b/sope-xml/XmlRpc/ChangeLog index ec7086bb..1b510e9e 100644 --- a/sope-xml/XmlRpc/ChangeLog +++ b/sope-xml/XmlRpc/ChangeLog @@ -1,3 +1,8 @@ +2006-09-20 Helge Hess + + * GNUmakefile.preamble: filter out -O% flags for files using exception + handlers, enable -O2 per default (v4.5.30) + 2006-08-24 Helge Hess * NSObject+XmlRpc.m: added support for 'nil' type as submitted by diff --git a/sope-xml/XmlRpc/GNUmakefile.preamble b/sope-xml/XmlRpc/GNUmakefile.preamble index 95fb5084..372d7b75 100644 --- a/sope-xml/XmlRpc/GNUmakefile.preamble +++ b/sope-xml/XmlRpc/GNUmakefile.preamble @@ -8,6 +8,17 @@ XmlRpc_SOVERSION=$(MAJOR_VERSION).$(MINOR_VERSION) XmlRpc_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION) +# disable optimization for exception handlers +NSObject+XmlRpc.m_FILE_FILTER_OUT_FLAGS = -O% + +ADDITIONAL_CPPFLAGS += \ + -O2 \ + -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 \ + -DSOPE_MAJOR_VERSION=$(MAJOR_VERSION) \ + -DSOPE_MINOR_VERSION=$(MINOR_VERSION) \ + -DSOPE_SUBMINOR_VERSION=$(SUBMINOR_VERSION) + + # framework support XmlRpc_HEADER_FILES = $(libXmlRpc_HEADER_FILES) XmlRpc_OBJC_FILES = $(libXmlRpc_OBJC_FILES) diff --git a/sope-xml/XmlRpc/Version b/sope-xml/XmlRpc/Version index 55c3abf2..82f4b952 100644 --- a/sope-xml/XmlRpc/Version +++ b/sope-xml/XmlRpc/Version @@ -1,3 +1,3 @@ # version file -SUBMINOR_VERSION:=29 +SUBMINOR_VERSION:=30