[SCM] BOINC packaging branch, debian-folder-release, updated. 34c45f40a878a8dbb1cd199a993fd5f393795002
Steffen Moeller
steffen_moeller at gmx.de
Sun Jan 6 19:27:40 UTC 2013
The following commit has been merged in the debian-folder-release branch:
commit 34c45f40a878a8dbb1cd199a993fd5f393795002
Author: Steffen Moeller <steffen_moeller at gmx.de>
Date: Sun Jan 6 20:26:26 2013 +0100
Always add -flto
This should be fine for g++ 4.7. For earlier compilers, e.g. while
backporting, the respective lines shall then be commented out.
diff --git a/debian/rules b/debian/rules
index 939d1d0..bb6b685 100755
--- a/debian/rules
+++ b/debian/rules
@@ -106,15 +106,10 @@ ifeq ($(DEB_HOST_GNU_TYPE), i486-gnu)
endif
GCCVERSION=$(shell gcc --version | tr " " "\n" | egrep '^[0-9]+\.[0-9]+\.[0-9]+$$' | cut -f1,2 -d.)
-# gcc 4.6 on precise has issues while gcc 4.7 on sid is just fine
-ifneq (4.6,$(GCCVERSION))
-ifneq (4.5,$(GCCVERSION))
-ifneq (4.4,$(GCCVERSION))
- CFLAGS += -flto
- LDFLAGS += -flto
-endif
-endif
-endif
+
+# Link-Time-Optimization
+CFLAGS += -flto
+LDFLAGS += -flto
CFLAGS += -Wall
CXXFLAGS += -Wall
--
BOINC packaging
More information about the pkg-boinc-commits
mailing list