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

johanvdw-guest pushed a commit to branch master
in repository hdf4.

commit 381ee55a357079aaf28439c1597a8c1ad197032a
Author: Johan Van de Wauw <johan.vandew...@gmail.com>
Date:   Mon Aug 18 17:19:02 2014 +0200

    Enable dpkg-buildflags (hardening etc)
---
 debian/rules | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 95d6435..a3f4663 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,11 +18,8 @@ CXX  := g++
 LIBS    := -ljpeg -lz -lm 
 
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
-       CFLAGS = -g -O0
-       LDFLAGS = -g
-else
-       CFLAGS = -O2 
-       LDFLAGS = 
+       CFLAGS = $(shell dpkg-buildflags --get CFLAGS; dpkg-buildflags --get 
CPPFLAGS)
+       LDFLAGS = $(shell dpkg-buildflags --get  LDFLAGS)
 endif
 
 ifneq (,$(findstring verbose,$(DEB_BUILD_OPTIONS)))

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/hdf4.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to