[pkg-java] r16723 - trunk/ant/debian
Emmanuel Bourg
ebourg-guest at alioth.debian.org
Wed May 22 15:46:22 UTC 2013
Author: ebourg-guest
Date: 2013-05-22 15:46:22 +0000 (Wed, 22 May 2013)
New Revision: 16723
Modified:
trunk/ant/debian/rules
Log:
Enabled hardening for the -gcj packages
Modified: trunk/ant/debian/rules
===================================================================
--- trunk/ant/debian/rules 2013-05-22 15:35:51 UTC (rev 16722)
+++ trunk/ant/debian/rules 2013-05-22 15:46:22 UTC (rev 16723)
@@ -5,6 +5,13 @@
include /usr/share/cdbs/1/rules/debhelper.mk
+# hardening
+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+export AOT_GCJFLAGS=$(CFLAGS)
+export AOT_LDFLAGS=$(LDFLAGS)
+
+
include /usr/share/gcj/debian_defaults
ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs)))
with_gcj_native := yes
More information about the pkg-java-commits
mailing list