[SCM] PCL branch, master, updated. upstream/1.6.0-10-g10acf2a

Thomas Moulard thomas.moulard at gmail.com
Thu May 30 08:39:41 UTC 2013


The following commit has been merged in the master branch:
commit 2dd04d419ce9157af35b5f5fe7b7fda35260adde
Author: Thomas Moulard <thomas.moulard at gmail.com>
Date:   Thu May 30 14:03:14 2013 +0900

    Fix compilation flags.

diff --git a/debian/rules b/debian/rules
index c11abf1..411cbba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,12 @@
 #!/usr/bin/make -f
 
 # Hardening.
-export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie,+fortify
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
 
 CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
 CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
 CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
-LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
 
 CFLAGS+=$(CPPFLAGS)
 CXXFLAGS+=$(CPPFLAGS)

-- 
PCL



More information about the debian-science-commits mailing list