On Tue, May 14, 2013 at 10:56 AM, Mathieu Malaterre <ma...@debian.org> wrote: > Does anyone know how to activate hardening flags in dh_nativejava ? > > I tried: > > $ cat debian/rules > [...] > AOT_GCJFLAGS:=$(shell dpkg-buildflags --get CFLAGS) > AOT_LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
For reference this actually works, simply do: export AOT_GCJFLAGS:=$(shell dpkg-buildflags --get CFLAGS) export AOT_LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) Also see #708375 for a JFLAGS equivalent to CFLAGS (without -Wformat). 2cts -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+7wUszZ+4xHtVUe-r-404wjSztZgZ2UxVW-cU_9pmxEP=p...@mail.gmail.com