[Pkg-xfce-commits] r4437 - desktop/branches/experimental/tumbler/debian

Yves-Alexis Perez corsac at alioth.debian.org
Fri Nov 5 10:00:55 UTC 2010


Author: corsac
Date: 2010-11-05 10:00:47 +0000 (Fri, 05 Nov 2010)
New Revision: 4437

Modified:
   desktop/branches/experimental/tumbler/debian/control
   desktop/branches/experimental/tumbler/debian/rules
Log:
add hardening flags


Modified: desktop/branches/experimental/tumbler/debian/control
===================================================================
--- desktop/branches/experimental/tumbler/debian/control	2010-11-05 10:00:18 UTC (rev 4436)
+++ desktop/branches/experimental/tumbler/debian/control	2010-11-05 10:00:47 UTC (rev 4437)
@@ -7,7 +7,7 @@
  Lionel Le Folgoc <mrpouit at gmail.com>
 Build-Depends: debhelper (>= 7.0.50~), intltool (>= 0.31), pkg-config,
  libglib2.0-dev, libgtk2.0-dev, libdbus-glib-1-dev, libpoppler-glib-dev,
- libffmpegthumbnailer-dev, libjpeg62-dev
+ libffmpegthumbnailer-dev, libjpeg62-dev, hardening-includes
 Standards-Version: 3.9.1
 Homepage: http://www.xfce.org/
 Vcs-Svn: svn://svn.debian.org/pkg-xfce/desktop/trunk/tumbler

Modified: desktop/branches/experimental/tumbler/debian/rules
===================================================================
--- desktop/branches/experimental/tumbler/debian/rules	2010-11-05 10:00:18 UTC (rev 4436)
+++ desktop/branches/experimental/tumbler/debian/rules	2010-11-05 10:00:47 UTC (rev 4437)
@@ -1,9 +1,12 @@
 #!/usr/bin/make -f
+include /usr/share/hardening-includes/hardening.make
 
 CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
 LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
-LDFLAGS+=-Wl,-z,defs -Wl,--as-needed
+LDFLAGS+=$(HARDENING_LDFLAGS) -Wl,-z,defs -Wl,--as-needed -Wl,-O1
+CFLAGS+=$(HARDENING_CFLAGS)
 
+
 override_dh_install:
 	dh_install --list-missing -X .la
 




More information about the Pkg-xfce-commits mailing list