[liblinear] 62/123: Don't hardcode CFLAGS, honor dpkg-buildflags
Christian Kastner
chrisk-guest at moszumanska.debian.org
Tue Aug 26 03:42:09 UTC 2014
This is an automated email from the git hooks/post-receive script.
chrisk-guest pushed a commit to branch master
in repository liblinear.
commit 005c57f765febae8a30fa14ccfdac11bd4382f55
Author: Christian Kastner <debian at kvr.at>
Date: Sun Feb 27 15:55:32 2011 +0100
Don't hardcode CFLAGS, honor dpkg-buildflags
---
debian/rules | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index 9c18109..c5be819 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,16 +11,14 @@ LSUBVER = $(shell echo $(DVER) | sed -e 's/Version: .*\.\([0-9]*\).*/\1/')
export LVER
export LSUBVER
-CFLAGS = -Wall -g
+CFLAGS += -Wall
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O3
ifeq (amd64,$(DEB_HOST_ARCH))
CFLAGS += -msse
endif
endif
+
%:
dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/liblinear.git
More information about the debian-science-commits
mailing list