[libfann] 95/133: Honor dpkg-buildflags

Christian Kastner chrisk-guest at moszumanska.debian.org
Sat Oct 4 21:07:52 UTC 2014


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

chrisk-guest pushed a commit to branch master
in repository libfann.

commit b88ad8b63fba3c9a68da7cf5fb522f897d2bcee0
Author: Christian Kastner <debian at kvr.at>
Date:   Sat Jun 11 03:28:31 2011 +0200

    Honor dpkg-buildflags
---
 debian/rules | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index e223962..5925047 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,12 +7,8 @@
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
+# Standard compiler flags
+CFLAGS += -Wall
 
 PYVERS = $(shell pyversions -r -v)
 

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



More information about the debian-science-commits mailing list