[SCM] BOINC packaging branch, master, updated. debian/7.0.33+dfsg-1-102-gdc8ecba
Gianfranco Costamagna
costamagnagianfranco at yahoo.it
Tue Nov 27 11:48:20 UTC 2012
The following commit has been merged in the master branch:
commit dc8ecba48c9e288e0d9026b943661f62e4e52a06
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date: Tue Nov 27 12:47:55 2012 +0100
Fix for lto compile flags
diff --git a/debian/rules b/debian/rules
index dc6c6d5..7c1e312 100755
--- a/debian/rules
+++ b/debian/rules
@@ -110,14 +110,15 @@ GCCVERSION=$(shell gcc --version | tr " " "\n" | egrep '^[0-9]+\.[0-9]+\.[0-9]+$
ifneq (4.6,$(GCCVERSION))
ifneq (4.5,$(GCCVERSION))
ifneq (4.4,$(GCCVERSION))
-CFLAGS += -flto
+ CFLAGS += -flto
+ LDFLAGS += -flto
endif
endif
endif
CFLAGS += -Wall
CXXFLAGS += -Wall
-LDFLAGS += -Wl,--as-needed -flto
+LDFLAGS += -Wl,--as-needed
# hurd needs the following
LDFLAGS += -Wl,--no-add-needed
--
BOINC packaging
More information about the pkg-boinc-commits
mailing list