[SCM] Rasmol packaging branch, master, updated. debian/2.7.4.2-5-67-g5e12029

Teemu Ikonen tpikonen at gmail.com
Sun May 19 20:41:35 UTC 2013


The following commit has been merged in the master branch:
commit 1b2ee2fe562c1aad7fc8e10d3ee91c8d208e42cd
Author: Teemu Ikonen <tpikonen at gmail.com>
Date:   Sat May 18 01:09:21 2013 +0200

    rules: Export dpkg-buildflags with all hardening options.

diff --git a/debian/rules b/debian/rules
index 77a09d2..95aae0d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,8 @@
 #!/usr/bin/make -f
 
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
 
 build-gtk: src/rasmol-gtk
 src/rasmol-gtk:

-- 
Rasmol packaging



More information about the debian-science-commits mailing list