[calculix-ccx] 01/04: Added multithreading and hardening flags to rules
Wolfgang Fütterer
wlfuetter-guest at moszumanska.debian.org
Thu Feb 19 11:52:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
wlfuetter-guest pushed a commit to branch master
in repository calculix-ccx.
commit 9039e1393769272f72cabec3499123e57e92b231
Author: Wolfgang Fuetterer <debian at wlf-online.de>
Date: Tue Feb 17 14:37:41 2015 +0100
Added multithreading and hardening flags to rules
---
debian/rules | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 616f13f..b897f4b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,11 +8,16 @@ DH_VERBOSE = 1
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
+UPSTREAM_CFLAGS = -Wall -I/usr/include/spooles -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DUSE_MT=1
+
%:
dh $@ -Dsrc
+override_dh_auto_build:
+ dh_auto_build -- CFLAGS="$(UPSTREAM_CFLAGS) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"
+
override_dh_auto_install:
- cp -v src/ccx_${CCX_VERSION} src/ccx
+ cp -v src/ccx_${CCX_VERSION} src/ccx
override_dh_auto_clean:
rm -f src/*.o
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/calculix-ccx.git
More information about the debian-science-commits
mailing list