[SCM] SETI at home packaging branch, master, updated. debian/6.97_svn1409-1-22-gdd58e09

Steffen Moeller steffen_moeller at gmx.de
Sun Nov 25 17:34:07 UTC 2012


The following commit has been merged in the master branch:
commit dd58e09d834aaaed6c460f3c903e737a988f30bd
Author: Steffen Moeller <steffen_moeller at gmx.de>
Date:   Sun Nov 25 18:29:55 2012 +0100

    Added link time optimisation.
    
    See http://gcc.gnu.org/wiki/LinkTimeOptimization for details.

diff --git a/debian/changelog b/debian/changelog
index b9da539..e84d47e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,9 @@ boinc-app-seti (7.00~svn1708-1) UNRELEASED; urgency=low
   [ Guo Yixuan ]
   * Updated README.source.
 
+  [ Steffen Moeller ]
+  * Added link time optimisation
+
  -- Gianfranco Costamagna <costamagnagianfranco at yahoo.it>  Mon, 05 Nov 2012 14:48:54 +0100
 
 boinc-app-seti (7.00~svn1704-1) UNRELEASED; urgency=low
diff --git a/debian/rules b/debian/rules
index da1ca4a..96b135c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -44,12 +44,16 @@ export LDFLAGS  := $(shell dpkg-buildflags --get LDFLAGS)
 # Append this to CFLAGS and CXXFLAGS.
 CFLAGS_APPEND += -O3
 CFLAGS_APPEND += -I/usr/include/boinc -I/usr/include/boinc/lib -I/usr/include/boinc/api
+CFLAGS_APPEND += -flto
 
 # Although all source file are C++, some handwritten rules in
 # client/Makefile.am seem to use CFLAGS only.
 CFLAGS   += $(CFLAGS_APPEND)
 CXXFLAGS += $(CFLAGS_APPEND)
 
+# Add to LDFLAGS
+LDFLAGS += -flto
+
 
 # This is a shame, but there is yet no AltiVec for Linux PowerPC with SETI
 SETIEXTRAFLAGS= --disable-altivec

-- 
SETI at home packaging



More information about the pkg-boinc-commits mailing list