[SCM] Eigen3 packaging. branch, master, updated. debian/3.1.0-1-5-gcc47a2d

Anton Gladky gladky.anton at gmail.com
Thu Jul 26 20:11:35 UTC 2012


The following commit has been merged in the master branch:
commit edee2008e0a43033504d80511fc919985a68e856
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Thu Jul 26 18:02:07 2012 +0200

    Enable hardening of build-flags for autotests.

diff --git a/debian/rules b/debian/rules
index f2513f4..2cebe59 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,14 +1,11 @@
 #! /usr/bin/make -f
 BUILDDIR = $(CURDIR)/debian/build
 
-CFLAGS := -Wall $(shell dpkg-buildflags --get CFLAGS)
-CXXFLAGS := -Wall $(shell dpkg-buildflags --get CXXFLAGS)
-CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
-LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
-
 %:
 	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --parallel
 
+export DEB_BUILD_MAINT_OPTIONS := hardening=+all
+
 override_dh_auto_configure:
 	dh_auto_configure -- -DDART_TESTING_TIMEOUT=300
 

-- 
Eigen3 packaging. 



More information about the debian-science-commits mailing list