[boinc] 06/09: Not accepting empty DEB_OPT_FLAGS
Steffen Möller
moeller at alioth.debian.org
Tue Nov 5 09:31:24 UTC 2013
This is an automated email from the git hooks/post-receive script.
moeller pushed a commit to branch master
in repository boinc.
commit ab9d6978fba21514dfdef0ab65c77943ee62a3b7
Author: Steffen Moeller <steffen_moeller at gmx.de>
Date: Fri Oct 25 23:49:49 2013 +0200
Not accepting empty DEB_OPT_FLAGS
It is set by default, but along
http://boinc.berkeley.edu/wiki/Compiling_the_core_client
certain optimisations are suggested.
---
debian/rules | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debian/rules b/debian/rules
index a7c2269..b03b590 100755
--- a/debian/rules
+++ b/debian/rules
@@ -132,6 +132,10 @@ ifneq (,$(findstring clang,$(DEB_BUILD_OPTIONS)))
export CXX=clang
endif
+ifeq(,$(DEB_OPT_FLAGS))
+ DEB_OPT_FLAGS = -O3 -funroll-loops -fforce-addr -ffast-math
+endif
+
CFLAGS += $(DEB_OPT_FLAGS)
CXXFLAGS += $(DEB_OPT_FLAGS)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-boinc/boinc.git
More information about the pkg-boinc-commits
mailing list