Revision: 6570 http://ipcop.svn.sourceforge.net/ipcop/?rev=6570&view=rev Author: gespinasse Date: 2012-04-25 09:42:54 +0000 (Wed, 25 Apr 2012) Log Message: ----------- Another candidate to --build/--target cleaning
I checked than removing --build/--target make no change to compiled code. Remove adding --param max-inline-insns-single=500 to CFLAGS as this is the default value. Instead add -O3 to CFLAGS let disappear the 'optimizing for size and code size would grow' numerous warnings. Code is 25% bigger but we are not strong enought to go against developper knowledge of the code. He should know better than us where hot path is and where is important to inline. Modified Paths: -------------- ipcop/trunk/lfs/conntrack-tools ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0 ipcop/trunk/updates/2.1.0/information.xml Modified: ipcop/trunk/lfs/conntrack-tools =================================================================== --- ipcop/trunk/lfs/conntrack-tools 2012-04-25 09:03:43 UTC (rev 6569) +++ ipcop/trunk/lfs/conntrack-tools 2012-04-25 09:42:54 UTC (rev 6570) @@ -43,6 +43,9 @@ DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) +# To avoid warning 'optimizing for size and code size would grow' +CFLAGS += -O3 + ############################################################################### # Top-level Rules ############################################################################### @@ -82,12 +85,9 @@ @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && ./configure --prefix=/usr \ - CFLAGS="$(CFLAGS) --param max-inline-insns-single=500" \ - --program-prefix= \ - --build=$(MACHINE_REAL)-linux \ - --target=$(MACHINE)-linux - cd $(DIR_APP) && make && make install + cd $(DIR_APP) && ./configure --prefix=/usr --program-prefix= + cd $(DIR_APP) && make # V=1 + cd $(DIR_APP) && make install @rm -rf $(DIR_APP) @$(POSTBUILD) Modified: ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0 =================================================================== --- ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0 2012-04-25 09:03:43 UTC (rev 6569) +++ ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0 2012-04-25 09:42:54 UTC (rev 6570) @@ -84,6 +84,9 @@ /bin/sh /bin/bash ## +## conntrack-tools compiled with -O3 +/usr/sbin/conntrack +## ## coreutils-8.16 /bin/cat /bin/chgrp Modified: ipcop/trunk/updates/2.1.0/information.xml =================================================================== --- ipcop/trunk/updates/2.1.0/information.xml 2012-04-25 09:03:43 UTC (rev 6569) +++ ipcop/trunk/updates/2.1.0/information.xml 2012-04-25 09:42:54 UTC (rev 6570) @@ -4,6 +4,7 @@ <releasedate>2012-04-dd</releasedate> <size>0</size> <description>httpd, libxml2 and gettext patched<br /> + conntrack-tools recompiled with -O3<br /> Add URL filter.<br /> Language updates.<br /> Upgrade acpid to 2.0.16, arping to 2.11, bash to 4.2.24, coreutils to 8.16, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn