[arpack++] 04/09: Set build-flags using dpkg-buildflags.

Anton Gladky gladk at moszumanska.debian.org
Wed Sep 10 19:11:09 UTC 2014


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository arpack++.

commit e72ea5e83ed3dc3c5f3ee0f2824a4791abeff4c8
Author: Anton Gladky <gladk at debian.org>
Date:   Wed Sep 10 20:31:10 2014 +0200

    Set build-flags using dpkg-buildflags.
---
 debian/rules | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 71aeb21..b624918 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,9 +26,9 @@ DEB_CONFIGURE_EXTRA_FLAGS :=       \
   --includedir=/usr/include/arpack++
 
 
-CFLAGS= -O3
-CXXFLAGS= -O3
-FFLAGS= -O3
+CFLAGS= `dpkg-buildflags --get CFLAGS`
+CXXFLAGS= `dpkg-buildflags --get CXXFLAGS`
+FFLAGS= `dpkg-buildflags --get CXXFLAGS`
 
 VERSION=2.3
 orig-tarball:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arpack++.git



More information about the debian-science-commits mailing list